PropertyTypeMismatchException Members

Include Protected Members
Include Inherited Members

The PropertyTypeMismatchException class represents the exception raised when an attempt is made to set the property with a value that has the incorrect data type.

The PropertyTypeMismatchException type exposes the following members.

Constructors

  Name Description
Public method PropertyTypeMismatchException() Initializes a new instance of the PropertyTypeMismatchException class.
Public method PropertyTypeMismatchException(String) Initializes a new instance of the PropertyTypeMismatchException class with the specified message.
Public method PropertyTypeMismatchException(String, Exception) Initializes a new instance of the PropertyTypeMismatchException class with the specified message and specified inner exception.
Public method PropertyTypeMismatchException(String, String, String) Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type.

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetBaseException() (Inherited from Exception.)
Public method GetHashCode() (Inherited from Object.)
Public method GetObjectData(SerializationInfo, StreamingContext) Returns object data in order to facilitate remoting. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType() (Inherited from Exception.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method SetHelpContext(String) Sets the Help context value for the referenced exception. (Inherited from SmoException.)
Public method ToString() (Inherited from Exception.)

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ExpectedType Gets the expected data type for the property.
Public property HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Gets the message that describes the exception. (Overrides Exception.Message.)
Public property PropertyName Gets the name of the property that received a value with the incorrect data type.
Public property ReceivedType Gets the data type that was received incorrectly by the property.
Public property SmoExceptionType Gets the type of SMO exception. (Overrides SmoException.SmoExceptionType.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top