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用於發出訊息。