Table of Contents

Method AbortAsync

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

AbortAsync(IRunner, string?, CancellationToken)

A universal method of calling a method Abort(string?) for both local and remote runners.

public static Task AbortAsync(this IRunner Runner, string? TraceIdentifier = null, CancellationToken Token = default)

Parameters

Runner IRunner
An instance of a runner for which the method is called.
TraceIdentifier string
String that can be used for tracing.
Token CancellationToken
Can be used for cooperative cancellation of the operation initiated by this method (i.e. cancellation of the result task).

Returns

Task

A task representing an asynchronous call of the Abort(string?) method (possibly on a remote host).