ITestHostProcessLifetimeHandler.OnTestHostProcessExitedAsync Method

Definition

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.

Applies to