TransportBindingElement.ManualAddressing 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示是否要求对消息进行手动寻址。
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
属性值
true 如果需要手动寻址消息,否则 false。 默认值为 false。
注解
此属性通常用于路由器方案。在该方案中,应用程序确定将消息发送到若干目标中的哪一个。
如果将此属性设置为 true,则通道假定已对消息进行寻址,而不再添加其他任何信息。
如果 false,发送通道 EndpointAddress 会将配置为 To 通道上的寻址者应用到传出消息。