Επεξεργασία

Κοινή χρήση μέσω


CorrelationToken.OwnerActivityName Property

Definition

Gets or sets the name of the Activity that owns the correlation token.

public:
 property System::String ^ OwnerActivityName { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.PropertyValueProviderTypeConverter))]
public string OwnerActivityName { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.PropertyValueProviderTypeConverter))>]
member this.OwnerActivityName : string with get, set
Public Property OwnerActivityName As String

Property Value

The name of the Activity that owns the correlation token.

Attributes

Examples

The following example demonstrates accessing the OwnerActivityName property of a correlation token object. This example is from the Correlated Local Service SDK sample, from the CorrelatedLocalServiceWorkflow.designer.cs file. For more information, see Correlated Local Service Sample.

correlationtoken1.OwnerActivityName = "sequence2";
correlationtoken1.OwnerActivityName = "sequence2"

Applies to