IServiceEndpointResolverExtensions.Resolve 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.
Attempts to resolve the endpoint reference to a ServiceEndpoint.
public static Microsoft.TeamFoundation.DistributedTask.WebApi.ServiceEndpoint Resolve(this Microsoft.TeamFoundation.DistributedTask.Pipelines.IServiceEndpointResolver resolver, Microsoft.TeamFoundation.DistributedTask.Pipelines.ServiceEndpointReference reference);
static member Resolve : Microsoft.TeamFoundation.DistributedTask.Pipelines.IServiceEndpointResolver * Microsoft.TeamFoundation.DistributedTask.Pipelines.ServiceEndpointReference -> Microsoft.TeamFoundation.DistributedTask.WebApi.ServiceEndpoint
<Extension()>
Public Function Resolve (resolver As IServiceEndpointResolver, reference As ServiceEndpointReference) As ServiceEndpoint
Parameters
- resolver
- IServiceEndpointResolver
- reference
- ServiceEndpointReference
The endpoint reference which should be resolved
Returns
The service endpoint if resolved; otherwise, null