TransportBindingElement.ManualAddressing 属性

定义

获取或设置一个值,该值指示是否要求对消息进行手动寻址。Gets or sets a value that indicates whether manual addressing of the message is required.

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

属性值

Boolean

true 如果要求对消息进行手动寻址,则为;否则为 falsetrue if manual addressing of the message is required; otherwise false. 默认值为 falseThe 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.

如果将此属性设置为 true,则通道假定已对消息进行寻址,而不再添加其他任何信息。If this property is set to true, the channel assumes the message has already been addressed and does not add any additional information.

如果 false 为,则发送通道 EndpointAddress To 对传出消息应用配置为通道上的收件人。If false, the sending channel applies the EndpointAddress configured as the To addressee on the channel to outgoing messages.

适用于