Элементы 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.

Тип PropertyTypeMismatchException предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод 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.

В начало

Методы

  Имя Описание
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetBaseException (Наследуется из Exception.)
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetObjectData Returns object data in order to facilitate remoting. (Перезаписывает Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Открытый метод GetType (Наследуется из Exception.)
Защищенный метод MemberwiseClone (Наследуется из Object.)
Защищенный метод SetHelpContext Sets the Help context value for the referenced exception. (Наследуется из SmoException.)
Открытый метод ToString (Наследуется из Exception.)

В начало

Свойства

  Имя Описание
Открытое свойство Data (Наследуется из Exception.)
Открытое свойство ExpectedType Gets the expected data type for the property.
Открытое свойство HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Наследуется из SmoException.)
Защищенное свойство HResult (Наследуется из Exception.)
Открытое свойство InnerException (Наследуется из Exception.)
Открытое свойство Message Gets the message that describes the exception. (Перезаписывает 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. (Перезаписывает SmoException. . :: . .SmoExceptionType.)
Открытое свойство Source (Наследуется из Exception.)
Открытое свойство StackTrace (Наследуется из Exception.)
Открытое свойство TargetSite (Наследуется из Exception.)

В начало