ExceptionLogger Class
Represents an unhandled exception logger.
Namespace: System.Web.Http.ExceptionHandling
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.ExceptionHandling.ExceptionLogger
Syntax
public abstract class ExceptionLogger : IExceptionLogger
public ref class ExceptionLogger abstract : IExceptionLogger
[<AbstractClass>]
type ExceptionLogger =
class
interface IExceptionLogger
end
Public MustInherit Class ExceptionLogger
Implements IExceptionLogger
Constructors
Name | Description | |
---|---|---|
![]() |
ExceptionLogger() | Initializes a new instance of the ExceptionLogger class. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Log(ExceptionLoggerContext) | When overridden in a derived class, logs the exception synchronously. |
![]() |
LogAsync(ExceptionLoggerContext, CancellationToken) | When overridden in a derived class, logs the exception asynchronously. |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ShouldLog(ExceptionLoggerContext) | Determines whether the exception should be logged. |
![]() |
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IExceptionLogger.LogAsync(ExceptionLoggerContext, CancellationToken) |
Extension Methods
Name | Description | |
---|---|---|
![]() |
LogAsync(ExceptionContext, CancellationToken) | Calls an exception logger.(Defined by ExceptionLoggerExtensions.) |
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