Send.Action Property

.NET Framework (current version)

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:{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