Edit

TestHttpClientBase.QueryCustomFieldsAsync Method

Definition

Overloads

QueryCustomFieldsAsync(Guid, CustomTestFieldScope, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldDefinition>> QueryCustomFieldsAsync(Guid project, Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldScope scopeFilter, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryCustomFieldsAsync : Guid * Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldScope * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldDefinition>>
override this.QueryCustomFieldsAsync : Guid * Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldScope * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldDefinition>>

Parameters

project
Guid

Project ID

scopeFilter
CustomTestFieldScope
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

QueryCustomFieldsAsync(String, CustomTestFieldScope, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldDefinition>> QueryCustomFieldsAsync(string project, Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldScope scopeFilter, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryCustomFieldsAsync : string * Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldScope * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldDefinition>>
override this.QueryCustomFieldsAsync : string * Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldScope * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.CustomTestFieldDefinition>>

Parameters

project
String

Project ID or project name

scopeFilter
CustomTestFieldScope
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to