Table of Contents

Class AttributeTypeMismatchException

Namespace
Virtufin.Core
Assembly
Virtufin.Core.dll

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

attribute IAttribute
providedType Type

Properties

AttributeName

The name of the requested attribute.

public object AttributeName { get; }

Property Value

object

ProvidedType

The value type the provider holds.

public Type ProvidedType { get; }

Property Value

Type

RequestedType

The value type the caller asked for.

public Type RequestedType { get; }

Property Value

Type