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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
Show: