MessageDescription.Action Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the action parameter of the SOAP message that identifies the intent of the message.

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

Syntax

'Declaration
Public ReadOnly Property Action As String
public string Action { get; }

Property Value

Type: System.String
The action URI.

Remarks

This optional parameter can be used to specify the URI that identifies the intent of the message.

The value of the action parameter is an absolute URI reference as defined by RFC 2396. The URI should be globally unique and stable over time.

Servers, such as firewalls, can use the presence and content of the action parameter to filter SOAP messages and to facilitate the dispatch of SOAP messages to internal message handlers. It should not be used as an insecure form of access authorization.

Use of the action parameter is optional. SOAP receivers can use it as a hint to optimize processing, but must not require its presence to operate.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.