TestHttpClientBase.CreateTestSessionAsync 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.
[Preview API] Create a test session
C#
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestSession> CreateTestSessionAsync (Microsoft.TeamFoundation.TestManagement.WebApi.TestSession testSession, Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext teamContext, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member CreateTestSessionAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestSession * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestSession>
override this.CreateTestSessionAsync : Microsoft.TeamFoundation.TestManagement.WebApi.TestSession * Microsoft.TeamFoundation.Core.WebApi.Types.TeamContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.TestManagement.WebApi.TestSession>
- testSession
- TestSession
Test session details for creation
- teamContext
- TeamContext
The team context for the operation
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |