Action Property
Collapse the table of content
Expand the table of content

MessageHeaders.Action Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a description of how the message should be processed.

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

public string Action { get; set; }

Property Value

Type: System.String
A description of how the message should be processed.

This property corresponds to the <Action> element described in the WS-Addressing specification.

The following code example shows a basic client using the channel factory to send a message and read the action header from the reply.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft