TransportBindingElement.ManualAddressing 屬性

定義

取得或設定值,這個值會指出是否需要訊息的手動定址。

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 通道上的定址者套用至傳出訊息。

適用於