ServiceEndpointHttpClientBase.QueryServiceEndpointAsync Method
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.
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. |
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.
[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);
abstract member QueryServiceEndpointAsync : Guid * Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi.DataSourceBinding * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.QueryServiceEndpointAsync : Guid * Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi.DataSourceBinding * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
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) |
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.
[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);
abstract member QueryServiceEndpointAsync : string * Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi.DataSourceBinding * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
override this.QueryServiceEndpointAsync : string * Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi.DataSourceBinding * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<string>>
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) |