DiscoveryClient.ResolveTaskAsync Method

Definition

Begins an asynchronous resolve task operation.

Overloads

ResolveTaskAsync(ResolveCriteria)

Begins an asynchronous resolve task operation with the specified criteria.

ResolveTaskAsync(ResolveCriteria, CancellationToken)

Begins an asynchronous resolve task operation with the specified criteria and cancellation token.

ResolveTaskAsync(ResolveCriteria)

Begins an asynchronous resolve task operation with the specified criteria.

public:
 System::Threading::Tasks::Task<System::ServiceModel::Discovery::ResolveResponse ^> ^ ResolveTaskAsync(System::ServiceModel::Discovery::ResolveCriteria ^ criteria);
public System.Threading.Tasks.Task<System.ServiceModel.Discovery.ResolveResponse> ResolveTaskAsync (System.ServiceModel.Discovery.ResolveCriteria criteria);
member this.ResolveTaskAsync : System.ServiceModel.Discovery.ResolveCriteria -> System.Threading.Tasks.Task<System.ServiceModel.Discovery.ResolveResponse>
Public Function ResolveTaskAsync (criteria As ResolveCriteria) As Task(Of ResolveResponse)

Parameters

criteria
ResolveCriteria

The criteria for matching a service endpoint.

Returns

Task<ResolveResponse>

An asynchronous resolve task operation.

Applies to

ResolveTaskAsync(ResolveCriteria, CancellationToken)

Begins an asynchronous resolve task operation with the specified criteria and cancellation token.

public:
 System::Threading::Tasks::Task<System::ServiceModel::Discovery::ResolveResponse ^> ^ ResolveTaskAsync(System::ServiceModel::Discovery::ResolveCriteria ^ criteria, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.ServiceModel.Discovery.ResolveResponse> ResolveTaskAsync (System.ServiceModel.Discovery.ResolveCriteria criteria, System.Threading.CancellationToken cancellationToken);
member this.ResolveTaskAsync : System.ServiceModel.Discovery.ResolveCriteria * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.ServiceModel.Discovery.ResolveResponse>
Public Function ResolveTaskAsync (criteria As ResolveCriteria, cancellationToken As CancellationToken) As Task(Of ResolveResponse)

Parameters

criteria
ResolveCriteria

The criteria for matching a service endpoint.

cancellationToken
CancellationToken

The cancellation token for notification propagation.

Returns

Task<ResolveResponse>

An asynchronous resolve task operation.

Applies to