ITestFramework.CloseTestSessionAsync(CloseTestSessionContext) Method

Definition

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

C#
public System.Threading.Tasks.Task<Microsoft.Testing.Platform.Extensions.TestFramework.CloseTestSessionResult> CloseTestSessionAsync (Microsoft.Testing.Platform.Extensions.TestFramework.CloseTestSessionContext context);

Parameters

context
CloseTestSessionContext

The test session destruction context.

Returns

Applies to

Toode Versioonid
Microsoft Testing Platform 1.0.2, 1.1.0, 1.2.1, 1.3.2, 1.4.3, 1.5.3, 1.6.0