Edit

ITestResultsHttpClient.QueryTestRunsAsync2 Method

Definition

Overloads

QueryTestRunsAsync2(Guid, DateTime, DateTime, Nullable<TestRunState>, IEnumerable<Int32>, Nullable<Boolean>, Nullable<TestRunPublishContext>, IEnumerable<Int32>, IEnumerable<Int32>, String, IEnumerable<Int32>, IEnumerable<Int32>, IEnumerable<Int32>, IEnumerable<Int32>, String, Nullable<Int32>, String, Object, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>> QueryTestRunsAsync2(Guid project, DateTime minLastUpdatedDate, DateTime maxLastUpdatedDate, Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunState> state = null, System.Collections.Generic.IEnumerable<int> planIds = null, Nullable<bool> isAutomated = null, Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunPublishContext> publishContext = null, System.Collections.Generic.IEnumerable<int> buildIds = null, System.Collections.Generic.IEnumerable<int> buildDefIds = null, string branchName = null, System.Collections.Generic.IEnumerable<int> releaseIds = null, System.Collections.Generic.IEnumerable<int> releaseDefIds = null, System.Collections.Generic.IEnumerable<int> releaseEnvIds = null, System.Collections.Generic.IEnumerable<int> releaseEnvDefIds = null, string runTitle = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryTestRunsAsync2 : Guid * DateTime * DateTime * Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunState> * seq<int> * Nullable<bool> * Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunPublishContext> * seq<int> * seq<int> * string * seq<int> * seq<int> * seq<int> * seq<int> * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>

Parameters

project
Guid
minLastUpdatedDate
DateTime
maxLastUpdatedDate
DateTime
planIds
IEnumerable<Int32>
isAutomated
Nullable<Boolean>
buildIds
IEnumerable<Int32>
buildDefIds
IEnumerable<Int32>
branchName
String
releaseIds
IEnumerable<Int32>
releaseDefIds
IEnumerable<Int32>
releaseEnvIds
IEnumerable<Int32>
releaseEnvDefIds
IEnumerable<Int32>
runTitle
String
continuationToken
String
userState
Object
cancellationToken
CancellationToken

Returns

Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<TestRun>>

Applies to

QueryTestRunsAsync2(String, DateTime, DateTime, Nullable<TestRunState>, IEnumerable<Int32>, Nullable<Boolean>, Nullable<TestRunPublishContext>, IEnumerable<Int32>, IEnumerable<Int32>, String, IEnumerable<Int32>, IEnumerable<Int32>, IEnumerable<Int32>, IEnumerable<Int32>, String, Nullable<Int32>, String, Object, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>> QueryTestRunsAsync2(string project, DateTime minLastUpdatedDate, DateTime maxLastUpdatedDate, Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunState> state = null, System.Collections.Generic.IEnumerable<int> planIds = null, Nullable<bool> isAutomated = null, Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunPublishContext> publishContext = null, System.Collections.Generic.IEnumerable<int> buildIds = null, System.Collections.Generic.IEnumerable<int> buildDefIds = null, string branchName = null, System.Collections.Generic.IEnumerable<int> releaseIds = null, System.Collections.Generic.IEnumerable<int> releaseDefIds = null, System.Collections.Generic.IEnumerable<int> releaseEnvIds = null, System.Collections.Generic.IEnumerable<int> releaseEnvDefIds = null, string runTitle = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member QueryTestRunsAsync2 : string * DateTime * DateTime * Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunState> * seq<int> * Nullable<bool> * Nullable<Microsoft.TeamFoundation.TestManagement.WebApi.TestRunPublishContext> * seq<int> * seq<int> * string * seq<int> * seq<int> * seq<int> * seq<int> * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>

Parameters

project
String
minLastUpdatedDate
DateTime
maxLastUpdatedDate
DateTime
planIds
IEnumerable<Int32>
isAutomated
Nullable<Boolean>
buildIds
IEnumerable<Int32>
buildDefIds
IEnumerable<Int32>
branchName
String
releaseIds
IEnumerable<Int32>
releaseDefIds
IEnumerable<Int32>
releaseEnvIds
IEnumerable<Int32>
releaseEnvDefIds
IEnumerable<Int32>
runTitle
String
continuationToken
String
userState
Object
cancellationToken
CancellationToken

Returns

Task<Microsoft.VisualStudio.Services.WebApi.IPagedList<TestRun>>

Applies to