ServiceEndpointCollection.TryParseEndpointsString 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.
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
Azure SDK for .NET