IRequestChannel.RemoteAddress プロパティ

定義

要求チャネルがメッセージを送信する先のリモート アドレスを取得します。

public:
 property System::ServiceModel::EndpointAddress ^ RemoteAddress { System::ServiceModel::EndpointAddress ^ get(); };
public System.ServiceModel.EndpointAddress RemoteAddress { get; }
member this.RemoteAddress : System.ServiceModel.EndpointAddress
Public ReadOnly Property RemoteAddress As EndpointAddress

プロパティ値

EndpointAddress

要求チャネルがメッセージを送信する先の EndpointAddress

次のコードは、このプロパティを実装する方法を示しています。

public EndpointAddress RemoteAddress
{
    get { return this.InnerChannel.RemoteAddress; }
}

注釈

EndpointAddress が指定されていない場合は、Via が、最終的な送信先と物理アドレスの両方として機能します。 Via が指定されている場合は、メッセージが送信される実際の物理アドレス、およびメッセージがその送信先に到達するまでに経由する必要がある物理アドレスとなります。

適用対象