Share via


ExceptionLoggerContext Class

 

Represents the context within which unhandled exception logging occurs.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.ExceptionHandling.ExceptionLoggerContext

Syntax

public class ExceptionLoggerContext
public ref class ExceptionLoggerContext 
type ExceptionLoggerContext = class end
Public Class ExceptionLoggerContext

Constructors

Name Description
System_CAPS_pubmethod ExceptionLoggerContext(ExceptionContext)

Initializes a new instance of the ExceptionLoggerContext class.

Properties

Name Description
System_CAPS_pubproperty CallsHandler

Gets or sets a value indicating whether the exception can subsequently be handled by an IExceptionHandler to produce a new response message.

System_CAPS_pubproperty CatchBlock

Gets the catch block in which the exception was caught.

System_CAPS_pubproperty Exception

Gets the caught exception.

System_CAPS_pubproperty ExceptionContext

Gets the exception context providing the exception and related data.

System_CAPS_pubproperty Request

Gets the request being processed when the exception was caught.

System_CAPS_pubproperty RequestContext

Gets the request context in which the exception occurred.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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