The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ExceptionLogger::LogAsync Method (ExceptionLoggerContext^, CancellationToken)
When overridden in a derived class, logs the exception asynchronously.
Assembly: System.Web.Http (in System.Web.Http.dll)
public: virtual 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::Task^A task representing the asynchronous exception logging operation.
Show: