Επεξεργασία

Κοινή χρήση μέσω


MessageDescription(String, MessageDirection) Constructor

Definition

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

public:
 MessageDescription(System::String ^ action, System::ServiceModel::Description::MessageDirection direction);
public MessageDescription (string action, System.ServiceModel.Description.MessageDirection direction);
new System.ServiceModel.Description.MessageDescription : string * System.ServiceModel.Description.MessageDirection -> System.ServiceModel.Description.MessageDescription
Public Sub New (action As String, direction As MessageDirection)

Parameters

action
String

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

direction
MessageDirection

Input if the message is incoming or Output if the message is outgoing.

Exceptions

The direction is neither Input or Output.

Applies to