Class AttributeTypeMismatchException
An attribute was requested with another value type than the one its provider holds under the attribute's name.
public sealed class AttributeTypeMismatchException : InvalidCastException, ISerializable
- Inheritance
-
AttributeTypeMismatchException
- Implements
- Inherited Members
Constructors
AttributeTypeMismatchException(IAttribute, Type)
public AttributeTypeMismatchException(IAttribute attribute, Type providedType)
Parameters
attributeIAttributeprovidedTypeType
Properties
AttributeName
The name of the requested attribute.
public object AttributeName { get; }
Property Value
ProvidedType
The value type the provider holds.
public Type ProvidedType { get; }
Property Value
RequestedType
The value type the caller asked for.
public Type RequestedType { get; }