Share via


ExceptionLogger.IExceptionLogger.LogAsync Method (ExceptionLoggerContext, CancellationToken)

 

Namespace:   System.Web.Http.ExceptionHandling
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

Task IExceptionLogger.LogAsync(
    ExceptionLoggerContext context,
    CancellationToken cancellationToken
)
private:
virtual Task^ LogAsync(
    ExceptionLoggerContext^ context,
    CancellationToken cancellationToken
) sealed = IExceptionLogger::LogAsync
private abstract LogAsync : 
        context:ExceptionLoggerContext *
        cancellationToken:CancellationToken -> Task
private override LogAsync : 
        context:ExceptionLoggerContext *
        cancellationToken:CancellationToken -> Task
Private Function LogAsync (
    context As ExceptionLoggerContext,
    cancellationToken As CancellationToken
) As Task
    Implements IExceptionLogger.LogAsync

Parameters

Return Value

Type: System.Threading.Tasks.Task

Returns Task.

Implements

IExceptionLogger.LogAsync(ExceptionLoggerContext, CancellationToken)

See Also

ExceptionLogger Class
System.Web.Http.ExceptionHandling Namespace

Return to top