ActivityBind.Name ActivityBind.Name ActivityBind.Name ActivityBind.Name Property

Definition

Gets or sets the name of the Activity that the ActivityBind points to.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Workflow.ComponentModel.Serialization.ConstructorArgument("name")]
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

The name of the Activity that the ActivityBind points to.

Exceptions

Occurs when you attempt to set this value when the ActivityBind is not in design mode.

Examples

This example illustrates creating and using an ActivityBind and also of setting the Name.

This code example is part of the Throw Activity SDK sample and is from the ThrowActivity.cs file. For more information, see Using the ThrowActivity Activity.

Applies to