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。) |
頂端