MessageDescription Constructor
Collapse the table of content
Expand the table of content

MessageDescription Constructor

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

Initializes a new instance of the MessageDescription class with a specified action and direction.

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

'Declaration
Public Sub New ( _
	action As String, _
	direction As MessageDirection _
)

Parameters

action
Type: System.String
The action parameter of the SOAP message that identifies the intent of the message.
direction
Type: System.ServiceModel.Description.MessageDirection
Input if the message is incoming or Output if the message is outgoing.

ExceptionCondition
ArgumentOutOfRangeException

The direction is neither Input or Output.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft