ITestHostProcessLifetimeHandler.OnTestHostProcessExitedAsync 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.
Executes when the test host process has exited.
public System.Threading.Tasks.Task OnTestHostProcessExitedAsync(Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation testHostProcessInformation, System.Threading.CancellationToken cancellation);
public System.Threading.Tasks.Task OnTestHostProcessExitedAsync(Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation testHostProcessInformation, System.Threading.CancellationToken cancellationToken);
abstract member OnTestHostProcessExitedAsync : Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation * System.Threading.CancellationToken -> System.Threading.Tasks.Task
abstract member OnTestHostProcessExitedAsync : Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnTestHostProcessExitedAsync (testHostProcessInformation As ITestHostProcessInformation, cancellation As CancellationToken) As Task
Public Function OnTestHostProcessExitedAsync (testHostProcessInformation As ITestHostProcessInformation, cancellationToken As CancellationToken) As Task
Parameters
- testHostProcessInformation
- ITestHostProcessInformation
Information about the test host process.
- cancellationcancellationToken
- CancellationToken
The cancellation token.
Returns
A task representing the asynchronous operation.