Freigeben über


PropertyTypeMismatchException-Member

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.

Der PropertyTypeMismatchException-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode PropertyTypeMismatchException() () () () Initializes a new instance of the PropertyTypeMismatchException class.
Öffentliche Methode PropertyTypeMismatchException(String) Initializes a new instance of the PropertyTypeMismatchException class with the specified message.
Öffentliche Methode PropertyTypeMismatchException(String, Exception) Initializes a new instance of the PropertyTypeMismatchException class with the specified message and specified inner exception.
Öffentliche Methode PropertyTypeMismatchException(String, String, String) Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Returns object data in order to facilitate remoting. (Überschreibt Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode SetHelpContext Sets the Help context value for the referenced exception. (Geerbt von SmoException.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft ExpectedType Gets the expected data type for the property.
Öffentliche Eigenschaft HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Geerbt von SmoException.)
Geschützte Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message Gets the message that describes the exception. (Überschreibt Exception. . :: . .Message.)
Öffentliche Eigenschaft PropertyName Gets the name of the property that received a value with the incorrect data type.
Öffentliche Eigenschaft ReceivedType Gets the data type that was received incorrectly by the property.
Öffentliche Eigenschaft SmoExceptionType Gets the type of SMO exception. (Überschreibt SmoException. . :: . .SmoExceptionType.)
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang