Share via


ServiceEndpointCollection.TryParseEndpointsString Method

Definition

Constructs an EndpointsCollection from a string version of the endpoints. String form of EndpointsCollection is of the form {"Endpoints":{"Listener1":"Endpoint1","Listener2":"Endpoint2" ...}}

public static bool TryParseEndpointsString (string endpointsString, out Microsoft.ServiceFabric.Services.Communication.ServiceEndpointCollection serviceEndpoints);
static member TryParseEndpointsString : string * ServiceEndpointCollection -> bool
Public Shared Function TryParseEndpointsString (endpointsString As String, ByRef serviceEndpoints As ServiceEndpointCollection) As Boolean

Parameters

endpointsString
String

string form of endpointsCollection

serviceEndpoints
ServiceEndpointCollection

ServiceEndpointCollection object if the string can be parsed to a valid ServiceEndpointCollection object

Returns

True if the string can be parsed to a valid EndpointsCollection, False otherwise

Applies to