TestHttpClientBase.CreateTestSessionAsync Method

Definition

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);

Parameters

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.

Returns

Applies to

Ürün Sürümler
Azure DevOps Services .NET SDK preview, latest