Share via


ExceptionHandlerExtensions Class

 

Provides extension methods for IExceptionHandler.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.ExceptionHandling.ExceptionHandlerExtensions

Syntax

public static class ExceptionHandlerExtensions
[ExtensionAttribute]
public ref class ExceptionHandlerExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ExceptionHandlerExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ExceptionHandlerExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static HandleAsync(IExceptionHandler, ExceptionContext, CancellationToken)

Calls an exception handler and determines the response handling it, if any.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.ExceptionHandling Namespace

Return to top