ITestFramework.CreateTestSessionAsync(CreateTestSessionContext) Method

Definition

Ask to the test framework to create a test session.

public System.Threading.Tasks.Task<Microsoft.Testing.Platform.Extensions.TestFramework.CreateTestSessionResult> CreateTestSessionAsync(Microsoft.Testing.Platform.Extensions.TestFramework.CreateTestSessionContext context);
abstract member CreateTestSessionAsync : Microsoft.Testing.Platform.Extensions.TestFramework.CreateTestSessionContext -> System.Threading.Tasks.Task<Microsoft.Testing.Platform.Extensions.TestFramework.CreateTestSessionResult>
Public Function CreateTestSessionAsync (context As CreateTestSessionContext) As Task(Of CreateTestSessionResult)

Parameters

context
CreateTestSessionContext

The test session creation context.

Returns

Applies to