Sdílet prostřednictvím


CorrelationTokenCollection.GetCorrelationToken Metoda

Definice

Načte zadaný 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

Aktivita přidružená k CorrelationTokenCollection .

correlationTokenName
String

Název procesu CorrelationToken.

ownerActivityName
String

Název aktivity přidružené k CorrelationTokenCollection .

Návraty

CorrelationToken

Se CorrelationToken zadaným parametrem correlationTokenName .

Výjimky

activity, correlationTokenName nebo ownerActivityName jsou odkazy s hodnotou null ( Nothing v Visual Basic).

Platí pro