ITestFramework.CloseTestSessionAsync(CloseTestSessionContext) Method

Definition

Ask to the test framework to destroy the test session and release all the resources.

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

Parameters

context
CloseTestSessionContext

The test session destruction context.

Returns

Applies to