Language

IResourceStoreExtensions.GetEndpoint Method

Definition

Retrieves a service endpoint from the store using the provided reference.

public static Microsoft.TeamFoundation.DistributedTask.WebApi.ServiceEndpoint GetEndpoint(this Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore store, Microsoft.TeamFoundation.DistributedTask.Pipelines.ServiceEndpointReference reference);
static member GetEndpoint : Microsoft.TeamFoundation.DistributedTask.Pipelines.IResourceStore * Microsoft.TeamFoundation.DistributedTask.Pipelines.ServiceEndpointReference -> Microsoft.TeamFoundation.DistributedTask.WebApi.ServiceEndpoint
<Extension()>
Public Function GetEndpoint (store As IResourceStore, reference As ServiceEndpointReference) As ServiceEndpoint

Parameters

store
IResourceStore

The resource store which should be queried

reference
ServiceEndpointReference

The service endpoint reference which should be resolved

Returns

A ServiceEndpoint instance matching the specified reference if found; otherwise, null

Applies to