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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.