PropertyTypeMismatchException Miembros
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.
El tipo PropertyTypeMismatchException expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
PropertyTypeMismatchException() () () () | Initializes a new instance of the PropertyTypeMismatchException class. | |
PropertyTypeMismatchException(String) | Initializes a new instance of the PropertyTypeMismatchException class with the specified message. | |
PropertyTypeMismatchException(String, Exception) | Initializes a new instance of the PropertyTypeMismatchException class with the specified message and specified inner exception. | |
PropertyTypeMismatchException(String, String, String) | Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type. |
Principio
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object). | |
Finalize | (Se hereda de Object). | |
GetBaseException | (Se hereda de Exception). | |
GetHashCode | (Se hereda de Object). | |
GetObjectData | Returns object data in order to facilitate remoting. (Invalida Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Se hereda de Exception). | |
MemberwiseClone | (Se hereda de Object). | |
SetHelpContext | Sets the Help context value for the referenced exception. (Se hereda de SmoException). | |
ToString | (Se hereda de Exception). |
Principio
Propiedades
Nombre | Descripción | |
---|---|---|
Data | (Se hereda de Exception). | |
ExpectedType | Gets the expected data type for the property. | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Se hereda de SmoException). | |
HResult | (Se hereda de Exception). | |
InnerException | (Se hereda de Exception). | |
Message | Gets the message that describes the exception. (Invalida Exception. . :: . .Message.) | |
PropertyName | Gets the name of the property that received a value with the incorrect data type. | |
ReceivedType | Gets the data type that was received incorrectly by the property. | |
SmoExceptionType | Gets the type of SMO exception. (Invalida SmoException. . :: . .SmoExceptionType.) | |
Source | (Se hereda de Exception). | |
StackTrace | (Se hereda de Exception). | |
TargetSite | (Se hereda de Exception). |
Principio
Vea también