Share via


IExceptionContext Interface

Definition

Interface for "processing" exceptions before they are thrown. This can be used to add context to the exception, wrap the exception in another one, totally replace the exception, etc. It is not legal to return null from Process (unless null was passed in, which really shouldn't happen).

public interface IExceptionContext
type IExceptionContext = interface
Public Interface IExceptionContext
Derived

Properties

ContextDescription

A string describing the context itself.

Methods

Process<TException>(TException)

Applies to