Class PayloadTypeMismatchException
A decoder returned a value that is not the requested payload type (including null).
public sealed class PayloadTypeMismatchException : CodecException, ISerializable
- Inheritance
-
PayloadTypeMismatchException
- Implements
- Inherited Members
Constructors
PayloadTypeMismatchException(string, Type, Type?, string?)
Create the failure.
public PayloadTypeMismatchException(string contentType, Type expectedType, Type? actualType, string? eventId = null)
Parameters
Properties
ActualType
The type the decoder produced, or null for a null payload.
public Type? ActualType { get; }