ITestApplicationLifecycleCallbacks.BeforeRunAsync(CancellationToken) Method

Definition

Executes before the test run.

public System.Threading.Tasks.Task BeforeRunAsync(System.Threading.CancellationToken cancellationToken);
abstract member BeforeRunAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function BeforeRunAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

A task representing the asynchronous operation.

Applies to