ITestHostOrchestratorApplicationLifetime.AfterRunAsync Method

Definition

Executes after the orchestrator runs.

public System.Threading.Tasks.Task AfterRunAsync(int exitCode, System.Threading.CancellationToken cancellationToken);
abstract member AfterRunAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AfterRunAsync (exitCode As Integer, cancellationToken As CancellationToken) As Task

Parameters

exitCode
Int32

The exit code of the orchestrator.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task representing the asynchronous operation.

Applies to