WrongPropertyValueException 成員
The WrongPropertyValueException class represents the exception that is raised when a property is assigned the wrong value.
WrongPropertyValueException 型別公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
WrongPropertyValueException() () () () | Initializes a new instance of the WrongPropertyValueException class. | |
WrongPropertyValueException(String) | Initializes a new instance of the WrongPropertyValueException class with the specified message. | |
WrongPropertyValueException(Property) | Initializes a new instance of the WrongPropertyValueException class for the specified property. | |
WrongPropertyValueException(String, Exception) | Initializes a new instance of the WrongPropertyValueException class with the specified message and specified inner exception. |
頂端
方法
名稱 | 描述 | |
---|---|---|
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetBaseException | (繼承自 Exception。) | |
GetHashCode | (繼承自 Object。) | |
GetObjectData | Gets object data regarding the WrongPropertyValue Exception. (覆寫 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 is associated with the wrong property value exception. (覆寫 Exception. . :: . .Message。) | |
Property | Gets the property that was assigned the wrong property value that caused the wrong property value exception to be raised. | |
SmoExceptionType | Gets the type of SMO exception for the wrong property value exception. (覆寫 SmoException. . :: . .SmoExceptionType。) | |
Source | (繼承自 Exception。) | |
StackTrace | (繼承自 Exception。) | |
TargetSite | (繼承自 Exception。) |
頂端