CorrelationTokenCollection.GetCorrelationToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified 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
Parameters
- activity
- Activity
The Activity associated with the CorrelationTokenCollection.
- correlationTokenName
- String
The name of the CorrelationToken.
- ownerActivityName
- String
The name of the activity associated with the CorrelationTokenCollection.
Returns
The CorrelationToken with the specified correlationTokenName
.
Exceptions
activity
, correlationTokenName
, or ownerActivityName
are null references (Nothing
in Visual Basic).
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.