Bagikan melalui


ServiceEndpointCollection.TryGetFirstEndpointAddress(String) Method

Definition

Gets the first endpoint address in the EndpointsCollection.

public bool TryGetFirstEndpointAddress (out string endpointAddress);
member this.TryGetFirstEndpointAddress : string -> bool
Public Function TryGetFirstEndpointAddress (ByRef endpointAddress As String) As Boolean

Parameters

endpointAddress
String

First endpoint in the EndpointsCollection

Returns

True if there is at-least one endpoint in the EndpointsCollection, false otherwise

Applies to