ITestHostApplicationLifetime.AfterRunAsync(Int32, CancellationToken) 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 after the test run.
public System.Threading.Tasks.Task AfterRunAsync(int exitCode, System.Threading.CancellationToken cancellation);
public System.Threading.Tasks.Task AfterRunAsync(int exitCode, System.Threading.CancellationToken cancellationToken);
abstract member AfterRunAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
abstract member AfterRunAsync : int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AfterRunAsync (exitCode As Integer, cancellation As CancellationToken) As Task
Public Function AfterRunAsync (exitCode As Integer, cancellationToken As CancellationToken) As Task
Parameters
- exitCode
- Int32
The exit code of the test run.
- cancellationcancellationToken
- CancellationToken
The cancellation token.
Returns
A task representing the asynchronous operation.