Delegate ExceptionHandler
Represents a method that handles exceptions.
public delegate void ExceptionHandler(string context, Exception exception)
Parameters
contextstringThe context in which the exception has occurred.
exceptionExceptionThe exception which has occurred.
Constructors
ExceptionHandler(object, nint)
public ExceptionHandler(object @object, nint method)
Parameters
Methods
BeginInvoke(string, Exception, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string context, Exception exception, AsyncCallback callback, object @object)
Parameters
contextstringexceptionExceptioncallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(string, Exception)
public virtual void Invoke(string context, Exception exception)