Compartir a través de


CorrelationTokenCollection.GetCorrelationToken Método

Definición

Obtiene la clase CorrelationToken especificada.

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

Parámetros

activity
Activity

La actividad asociada a esta CorrelationTokenCollection.

correlationTokenName
String

Nombre del objeto CorrelationToken.

ownerActivityName
String

El nombre de la actividad asociada a CorrelationTokenCollection.

Devoluciones

CorrelationToken con la propiedad correlationTokenName especificada.

Excepciones

activity, correlationTokenName, o ownerActivityName son referencias nulas (Nothing en Visual Basic).

Se aplica a