TransportElement.ManualAddressing Property


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

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

[ConfigurationPropertyAttribute("manualAddressing", DefaultValue = false)]
public bool ManualAddressing { get; set; }

Property Value

Type: System.Boolean

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.

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.

.NET Framework
Available since 3.0
Return to top