ServiceEndpointQuery.TryParse(String, ServiceEndpointQuery) Method

Definition

Tries to parse the provided input as a service endpoint query.

public static bool TryParse (string input, out Microsoft.Extensions.ServiceDiscovery.ServiceEndpointQuery? query);
static member TryParse : string * ServiceEndpointQuery -> bool
Public Shared Function TryParse (input As String, ByRef query As ServiceEndpointQuery) As Boolean

Parameters

input
String

The value to parse.

query
ServiceEndpointQuery

The resulting query.

Returns

true if the value was successfully parsed; otherwise false.

Applies to