ITestHostProcessLifetimeHandler.OnTestHostProcessStartedAsync 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 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.