IRequestChannel.RemoteAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the remote address to which the request channel sends messages.
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
Property Value
The EndpointAddress to which the request channel sends messages.
Examples
The following code shows how to implement this property.
public EndpointAddress RemoteAddress
{
get { return this.InnerChannel.RemoteAddress; }
}
Remarks
The EndpointAddress serves as both the ultimate destination and the physical address if a Via is not specified. If the Via is specified, then that is the actual physical address to which the message is sent and through which the message must go to arrive at its destination.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro