Элементы PropertyWriteException

The PropertyWriteException class represents the exception that is raised when an error occurs when setting the value of a property.

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

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

  Имя Описание
Открытый метод PropertyWriteException() () () () Initializes a new instance of the PropertyWriteException class.
Открытый метод PropertyWriteException(String) Initializes a new instance of the PropertyWriteException class with the specified message.
Открытый метод PropertyWriteException(String, Exception) Initializes a new instance of the PropertyWriteException class with the specified message and specified inner exception.
Открытый метод PropertyWriteException(String, String, String, String) Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason.

В начало

Методы

  Имя Описание
Открытый метод Equals (Наследуется из Object.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetBaseException (Наследуется из Exception.)
Открытый метод GetHashCode (Наследуется из Object.)
Открытый метод GetObjectData Returns object data 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.)
Открытое свойство 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.
Открытое свойство SmoExceptionType Gets the type of SMO exception. (Перезаписывает SmoException. . :: . .SmoExceptionType.)
Открытое свойство Source (Наследуется из Exception.)
Открытое свойство StackTrace (Наследуется из Exception.)
Открытое свойство TargetSite (Наследуется из Exception.)

В начало