Udostępnij za pośrednictwem


CorrelationTokenCollection.GetCorrelationToken Metoda

Definicja

Pobiera określony CorrelationToken .

public:
 static System::Workflow::Runtime::CorrelationToken ^ GetCorrelationToken(System::Workflow::ComponentModel::Activity ^ activity, System::String ^ correlationTokenName, System::String ^ ownerActivityName);
public static System.Workflow.Runtime.CorrelationToken GetCorrelationToken (System.Workflow.ComponentModel.Activity activity, string correlationTokenName, string ownerActivityName);
static member GetCorrelationToken : System.Workflow.ComponentModel.Activity * string * string -> System.Workflow.Runtime.CorrelationToken
Public Shared Function GetCorrelationToken (activity As Activity, correlationTokenName As String, ownerActivityName As String) As CorrelationToken

Parametry

activity
Activity

Działanie skojarzone z CorrelationTokenCollection .

correlationTokenName
String

Nazwa elementu CorrelationToken.

ownerActivityName
String

Nazwa działania skojarzonego z CorrelationTokenCollection .

Zwraca

CorrelationToken

CorrelationTokenZ określonym correlationTokenName .

Wyjątki

activity, correlationTokenName , lub ownerActivityName są odwołaniami o wartości null ( Nothing w Visual Basic).

Dotyczy