Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TypeMismatchException Constructor

Creates a new instance of the TypeMismatchException class describing the property, required type, and underlying exception that could not be used to set a property on the target object.

[Visual Basic]
Public Overloads Sub New( _
   ByVal propertyChangeEventArgs As PropertyChangeEventArgs, _
   ByVal requiredType As Type, _
   ByVal rootCause As Exception _
)
[C#]
TypeMismatchException(
   PropertyChangeEventArgs propertyChangeEventArgs,
   Type requiredType,
   Exception rootCause
);

Parameters

propertyChangeEventArgs
The description of the property that was to be changed.
requiredType
The target conversion type.
rootCause
The underlying exception.

See Also

TypeMismatchException Class | Spring.Core Namespace | TypeMismatchException Constructor Overload List