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

Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0