ITestHostProcessLifetimeHandler.OnTestHostProcessStartedAsync Method

Definition

Executes when the test host process has started.

public System.Threading.Tasks.Task OnTestHostProcessStartedAsync(Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation testHostProcessInformation, System.Threading.CancellationToken cancellation);
public System.Threading.Tasks.Task OnTestHostProcessStartedAsync(Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation testHostProcessInformation, System.Threading.CancellationToken cancellationToken);
abstract member OnTestHostProcessStartedAsync : Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation * System.Threading.CancellationToken -> System.Threading.Tasks.Task
abstract member OnTestHostProcessStartedAsync : Microsoft.Testing.Platform.Extensions.TestHostControllers.ITestHostProcessInformation * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OnTestHostProcessStartedAsync (testHostProcessInformation As ITestHostProcessInformation, cancellation As CancellationToken) As Task
Public Function OnTestHostProcessStartedAsync (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