Send.Action Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the value of the action header of the message being sent.

Namespace:   System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

public string Action { get; set; }

Property Value

Type: System.String

The action of the message.

If the Action property has not been explicitly set, it defaults to: https://tempuri.org/{service contract namespace}/{service contract name}/{operation name}. If specified on a Send activity, the Receive activity that receives the message must have the same value for the message to be delivered correctly.

.NET Framework
Available since 4.0
Return to top
Show: