MessageDescription.Direction Property

Definition

Gets the direction that indicates whether the message is incoming or outgoing.

public:
 property System::ServiceModel::Description::MessageDirection Direction { System::ServiceModel::Description::MessageDirection get(); };
public System.ServiceModel.Description.MessageDirection Direction { get; }
member this.Direction : System.ServiceModel.Description.MessageDirection
Public ReadOnly Property Direction As MessageDirection

Property Value

The MessageDirection that indicates whether the message is incoming to or outgoing from the service.

Remarks

Incoming means that the message is coming from the client to the server. This is the Input direction. Outgoing means the message is coming from the server to the client. This is the Output direction. These terms can be confusing from the client perspective where the messages marked as Input are actually being sent and the messages marked as Output are being received.

Applies to