Edit

TestHttpClientBase.ReorderSuiteEntriesAsync Method

Definition

Overloads

ReorderSuiteEntriesAsync(IEnumerable<SuiteEntryUpdateModel>, Guid, Int32, Object, CancellationToken)

[Preview API] Reorder test suite entries in the test suite.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntry>> ReorderSuiteEntriesAsync(System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntryUpdateModel> suiteEntries, Guid project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ReorderSuiteEntriesAsync : seq<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntryUpdateModel> * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntry>>
override this.ReorderSuiteEntriesAsync : seq<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntryUpdateModel> * Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntry>>

Parameters

suiteEntries
IEnumerable<SuiteEntryUpdateModel>

List of SuiteEntryUpdateModel to reorder.

project
Guid

Project ID

suiteId
Int32

Id of the parent test suite.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

ReorderSuiteEntriesAsync(IEnumerable<SuiteEntryUpdateModel>, String, Int32, Object, CancellationToken)

[Preview API] Reorder test suite entries in the test suite.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntry>> ReorderSuiteEntriesAsync(System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntryUpdateModel> suiteEntries, string project, int suiteId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member ReorderSuiteEntriesAsync : seq<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntryUpdateModel> * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntry>>
override this.ReorderSuiteEntriesAsync : seq<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntryUpdateModel> * string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteEntry>>

Parameters

suiteEntries
IEnumerable<SuiteEntryUpdateModel>

List of SuiteEntryUpdateModel to reorder.

project
String

Project ID or project name

suiteId
Int32

Id of the parent test suite.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to