WrongPropertyValueException Members

Include Protected Members
Include Inherited Members

The WrongPropertyValueException class represents the exception that is raised when a property is assigned the wrong value.

The WrongPropertyValueException type exposes the following members.

Constructors

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

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) Gets object data regarding the WrongPropertyValue Exception. (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 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 is associated with the wrong property value exception. (Overrides Exception.Message.)
Public property Property Gets the property that was assigned the wrong property value that caused the wrong property value exception to be raised.
Public property SmoExceptionType Gets the type of SMO exception for the wrong property value exception. (Overrides SmoException.SmoExceptionType.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top