ITestFramework.CloseTestSessionAsync(CloseTestSessionContext) Method
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 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);
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)
- context
- CloseTestSessionContext
The test session destruction context.
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 |
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: