Bearbeiten

Freigeben über


TransportElement.ManualAddressing Property

Definition

Gets or sets a Boolean value that specifies whether the user takes control of message addressing.

public:
 property bool ManualAddressing { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("manualAddressing", DefaultValue=false)]
public bool ManualAddressing { get; set; }
[<System.Configuration.ConfigurationProperty("manualAddressing", DefaultValue=false)>]
member this.ManualAddressing : bool with get, set
Public Property ManualAddressing As Boolean

Property Value

true if the user can address every message individually; false if the default WCF addressing mechanism automatically creates addresses for all messages. The default is false.

Attributes

Remarks

This property is usually used in router scenarios, where the application determines which one of several destinations to send a message to.

If this property is set to true, the channel assumes the message has already been addressed and does not add any additional information to it.

If this property is set to false, the channel adds SOAP addressing information to the message.

Applies to