Endpoint.GetAddress Method
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 address of the endpoint.
Overloads
GetAddress() |
Gets the address of the endpoint. |
GetAddress(ServiceHostBase) |
Gets the address of the endpoint using the specified ServiceHostBase instance. |
GetAddress()
Gets the address of the endpoint.
public:
System::ServiceModel::EndpointAddress ^ GetAddress();
public System.ServiceModel.EndpointAddress GetAddress ();
member this.GetAddress : unit -> System.ServiceModel.EndpointAddress
Public Function GetAddress () As EndpointAddress
Returns
The EndpointAddress of the endpoint.
Applies to
GetAddress(ServiceHostBase)
Gets the address of the endpoint using the specified ServiceHostBase instance.
public:
System::ServiceModel::EndpointAddress ^ GetAddress(System::ServiceModel::ServiceHostBase ^ host);
public System.ServiceModel.EndpointAddress GetAddress (System.ServiceModel.ServiceHostBase host);
member this.GetAddress : System.ServiceModel.ServiceHostBase -> System.ServiceModel.EndpointAddress
Public Function GetAddress (host As ServiceHostBase) As EndpointAddress
Parameters
- host
- ServiceHostBase
The ServiceHostBase instance to use.
Returns
The EndpointAddress of the endpoint.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.