I have a `DataContract` say called `Credentials` which I've inherited into my own business object called `MyCredentials` and customized. I want to send it over the wire but understandably I get an error.

> 
> There was an error while trying to serialize parameter 
> 
> 
> 

Is there a way to resolve this without doing a conversion between business object and `DataContracts`? My code work looks something like this

```
[DataContract]
[KnownType(typeof(Credentials))]
internal class MyCredentials : Credentials
{
    public MyCredentials ()
    {
    }
}

```