CorrelationToken.Initialized Property

Definition

Gets a value indicating whether the CorrelationToken is initialized.

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

Property Value

true if the CorrelationToken is initialized; otherwise, false.

Attributes

Examples

The following example demonstrates accessing the Initialized property of a correlation token object.

// 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

Remarks

To initialize the correlation token, use Initialize.

Applies to