IExceptionContext Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |