PropertyReadOnlyException 成員
The PropertyReadOnlyException class represents the exception that is raised when an attempt is made to set a read-only property.
PropertyReadOnlyException 型別公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
PropertyReadOnlyException() () () () | Initializes a new instance of the PropertyReadOnlyException class. | |
PropertyReadOnlyException(String) | Initializes a new instance of the PropertyReadOnlyException class for the specified property. | |
PropertyReadOnlyException(String, Exception) | Initializes a new instance of the PropertyReadOnlyException class with the specified message and the specified inner exception. |
頂端
方法
名稱 | 描述 | |
---|---|---|
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 current exception. (覆寫 Exception. . :: . .Message。) | |
PropertyName | Gets the name of the property that is read-only. | |
SmoExceptionType | Gets the type of SMO exception. (覆寫 SmoException. . :: . .SmoExceptionType。) | |
Source | (繼承自 Exception。) | |
StackTrace | (繼承自 Exception。) | |
TargetSite | (繼承自 Exception。) |
頂端