Method GetExceptionAsync
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
GetExceptionAsync(CancellationToken)
Asynchronous counterpart of the Exception property.
ValueTask<Exception?> GetExceptionAsync(CancellationToken Token = default)
Parameters
Token
CancellationTokenCan be used for cooperative cancellation of the operation initiated by this method (i.e. cancellation of the result task).
Returns
- ValueTask<Exception>
A ValueTask<TResult> wrapping a value of the Exception property (possibly from a remote host)