編輯

共用方式為


ClientRuntime.ManualAddressing Property

Definition

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

public:
 property bool ManualAddressing { bool get(); void set(bool value); };
public bool ManualAddressing { get; set; }
member this.ManualAddressing : bool with get, set
Public Property ManualAddressing As Boolean

Property Value

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

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.

Note

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

Applies to