ServiceEndpointHttpClientBase.QueryServiceEndpointAsync Method

Definition

Overloads

QueryServiceEndpointAsync(Guid, DataSourceBinding, Object, CancellationToken)
Obsolete.

[Preview API] Proxy for a GET request defined by a service endpoint. The request is authorized using a data source in service endpoint. The response is filtered using an XPath/Json based selector.

QueryServiceEndpointAsync(String, DataSourceBinding, Object, CancellationToken)
Obsolete.

[Preview API] Proxy for a GET request defined by a service endpoint. The request is authorized using a data source in service endpoint. The response is filtered using an XPath/Json based selector.

QueryServiceEndpointAsync(Guid, DataSourceBinding, Object, CancellationToken)

Caution

Use ExecuteServiceEndpointRequest API Instead

[Preview API] Proxy for a GET request defined by a service endpoint. The request is authorized using a data source in service endpoint. The response is filtered using an XPath/Json based selector.

C#
[System.Obsolete("Use ExecuteServiceEndpointRequest API Instead")]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<string>> QueryServiceEndpointAsync (Guid project, Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi.DataSourceBinding binding, object userState = null, System.Threading.CancellationToken cancellationToken = null);

Parameters

project
Guid

Project ID

binding
DataSourceBinding

Describes the data source to fetch.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

Azure DevOps Services .NET SDK latest
Tuote Versiot (Vanhentunut)
Azure DevOps Services .NET SDK (latest)

QueryServiceEndpointAsync(String, DataSourceBinding, Object, CancellationToken)

Caution

Use ExecuteServiceEndpointRequest API Instead

[Preview API] Proxy for a GET request defined by a service endpoint. The request is authorized using a data source in service endpoint. The response is filtered using an XPath/Json based selector.

C#
[System.Obsolete("Use ExecuteServiceEndpointRequest API Instead")]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<string>> QueryServiceEndpointAsync (string project, Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi.DataSourceBinding binding, object userState = null, System.Threading.CancellationToken cancellationToken = null);

Parameters

project
String

Project ID or project name

binding
DataSourceBinding

Describes the data source to fetch.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Attributes

Applies to

Azure DevOps Services .NET SDK latest
Tuote Versiot (Vanhentunut)
Azure DevOps Services .NET SDK (latest)