ClientRuntime.ManualAddressing Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether the client adds addressing headers to request-reply messages.

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

public bool ManualAddressing { get; set; }

Property Value

Type: System.Boolean

true if the client does not add any addressing headers; otherwise, false. The default is false. See Remarks.

Set the ManualAddressing property to true if you want to prevent the client from adding Message ID and Reply-To addressing headers to request/response messages so that your application can control these headers.

System_CAPS_noteNote

If ManualAddressing is true, the client does not support request-reply operations over a duplex channel.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: