ITestFramework.CreateTestSessionAsync(CreateTestSessionContext) 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.
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.