IExceptionLogger::LogAsync Method
Logs an unhandled exception.
Namespace: System.Web.Http.ExceptionHandling
Assembly: System.Web.Http (in System.Web.Http.dll)
Task^ LogAsync( ExceptionLoggerContext^ context, CancellationToken cancellationToken )
Parameters
- context
- Type: System.Web.Http.ExceptionHandling::ExceptionLoggerContext
The exception logger context.
- cancellationToken
- Type: System.Threading::CancellationToken
The token to monitor for cancellation requests.
Return Value
Type: System.Threading.Tasks::TaskA task representing the asynchronous exception logging operation.
Show: