Class PayloadEncodeException
An encoder failed or produced a different datacontenttype than requested.
public sealed class PayloadEncodeException : CodecException, ISerializable
- Inheritance
-
PayloadEncodeException
- Implements
- Inherited Members
Constructors
PayloadEncodeException(string, Type, Exception)
Create the failure around an encoder exception.
public PayloadEncodeException(string contentType, Type payloadType, Exception innerException)
Parameters
PayloadEncodeException(string, Type, string)
Create the failure from a reason (null payload, mislabelled output).
public PayloadEncodeException(string contentType, Type payloadType, string reason)