ExceptionServices Class

 

Creates exception services to call logging and handling from catch blocks.

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

System::Object
  System.Web.Http.ExceptionHandling::ExceptionServices

public ref class ExceptionServices abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetHandler(HttpConfiguration^)

Gets an exception handler that calls the registered handler service, if any, and ensures exceptions do not accidentally propagate to the host.

System_CAPS_pubmethodSystem_CAPS_staticGetHandler(ServicesContainer^)

Gets an exception handler that calls the registered handler service, if any, and ensures exceptions do not accidentally propagate to the host.

System_CAPS_pubmethodSystem_CAPS_staticGetLogger(HttpConfiguration^)

Gets an exception logger that calls all registered logger services.

System_CAPS_pubmethodSystem_CAPS_staticGetLogger(ServicesContainer^)

Gets an exception logger that calls all registered logger services.

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

Return to top
Show: