Class TargetTypeMismatchForDerivedType

Namespace
Cratis.Serialization
Assembly
Cratis.Fundamentals.dll

Exception that gets thrown when a derived type implements more than one interface and it is not specified which to use in the DerivedTypeAttribute.

public class TargetTypeMismatchForDerivedType : Exception, ISerializable
Inheritance
TargetTypeMismatchForDerivedType
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the AmbiguousTargetTypeForDerivedType class.

Constructors

TargetTypeMismatchForDerivedType(Type)

Exception that gets thrown when a derived type implements more than one interface and it is not specified which to use in the DerivedTypeAttribute.

public TargetTypeMismatchForDerivedType(Type type)

Parameters

type Type

Type that is missing interfaces.

Remarks

Initializes a new instance of the AmbiguousTargetTypeForDerivedType class.