PropertyNotSetException 類別

定義

當動作需要使用者未設定的屬性時,會拋出例外。

[System.Serializable]
public sealed class PropertyNotSetException : Microsoft.SqlServer.Management.Smo.SmoException
[<System.Serializable>]
type PropertyNotSetException = class
    inherit SmoException
Public NotInheritable Class PropertyNotSetException
Inherits SmoException
繼承
屬性

建構函式

名稱 Description
PropertyNotSetException()

T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyNotSetException.

PropertyNotSetException(String, Exception)

T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyNotSetException.

PropertyNotSetException(String)

T:Microsoft 的建構器。SqlServer.Management.Smo.PropertyNotSetException.

屬性

名稱 Description
HelpLink

會收到一個連結作為支援網站的字串。

(繼承來源 SmoException)
Message

從例外中接收訊息,作為一個字串。

PropertyName

當動作需要使用者未設定的屬性時,會拋出例外。

SmoExceptionType

會收到 T:Microsoft 的例外類型。SqlServer.Management.Smo.SmoExceptionType enumeration.

方法

名稱 Description
GetObjectData(SerializationInfo, StreamingContext)

序列化輔助方法。

SetHelpContext(String)

當動作需要使用者未設定的屬性時,會拋出例外。

(繼承來源 SmoException)

適用於