Partager via


Membres PropertyTypeMismatchException

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.

Le type PropertyTypeMismatchException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique PropertyTypeMismatchException() () () () Initializes a new instance of the PropertyTypeMismatchException class.
Méthode publique PropertyTypeMismatchException(String) Initializes a new instance of the PropertyTypeMismatchException class with the specified message.
Méthode publique PropertyTypeMismatchException(String, Exception) Initializes a new instance of the PropertyTypeMismatchException class with the specified message and specified inner exception.
Méthode publique PropertyTypeMismatchException(String, String, String) Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (Hérité de Object.)
Méthode protégée Finalize (Hérité de Object.)
Méthode publique GetBaseException (Hérité de Exception.)
Méthode publique GetHashCode (Hérité de Object.)
Méthode publique GetObjectData Returns object data in order to facilitate remoting. (Se substitue à Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Méthode publique GetType (Hérité de Exception.)
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode protégée SetHelpContext Sets the Help context value for the referenced exception. (Hérité de SmoException.)
Méthode publique ToString (Hérité de Exception.)

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (Hérité de Exception.)
Propriété publique ExpectedType Gets the expected data type for the property.
Propriété publique HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Hérité de SmoException.)
Propriété protégée HResult (Hérité de Exception.)
Propriété publique InnerException (Hérité de Exception.)
Propriété publique Message Gets the message that describes the exception. (Se substitue à Exception. . :: . .Message.)
Propriété publique PropertyName Gets the name of the property that received a value with the incorrect data type.
Propriété publique ReceivedType Gets the data type that was received incorrectly by the property.
Propriété publique SmoExceptionType Gets the type of SMO exception. (Se substitue à SmoException. . :: . .SmoExceptionType.)
Propriété publique Source (Hérité de Exception.)
Propriété publique StackTrace (Hérité de Exception.)
Propriété publique TargetSite (Hérité de Exception.)

Haut de la page