共用方式為


CorrelationToken.Initialized 屬性

定義

取得值,指出是否已初始化 CorrelationToken

public:
 property bool Initialized { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool Initialized { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Initialized : bool
Public ReadOnly Property Initialized As Boolean

屬性值

如果 CorrelationToken 已初始化,則為 true,否則為 false

屬性

範例

下列範例將示範存取相互關聯語彙基元物件的 Initialized 屬性。

// Create a new Correlation Token
CorrelationToken testToken = new CorrelationToken();
// Read the Initialized value
Boolean tokenInitialized = testToken.Initialized;
' Create a new Correlation Token
Dim testToken As New CorrelationToken()
' Read the Initialized value
Dim tokenInitialized As Boolean = testToken.Initialized

備註

若要初始化相互關聯語彙基元,請使用 Initialize

適用於