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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.