ServiceEndpointCollection.TryGetEndpointAddress(String, String) 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 endpoint identified by the listener name.
public bool TryGetEndpointAddress (string listenerName, out string endpointAddress);
member this.TryGetEndpointAddress : string * string -> bool
Public Function TryGetEndpointAddress (listenerName As String, ByRef endpointAddress As String) As Boolean
Parameters
- listenerName
- String
Listener name
- endpointAddress
- String
Address of the endpoint if an endpoint with that listener name exists.
Returns
True if an endpoint with the listener name exists, False otherwise