IExceptionHandler.HandleException Method
When implemented by a class, handles an Exception.
Namespace: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
Exception HandleException(
Exception exception,
Guid handlingInstanceId
)
'Declaration
Function HandleException (
exception As Exception,
handlingInstanceId As Guid
) As Exception
Exception^ HandleException(
Exception^ exception,
Guid handlingInstanceId
)
Parameters
exception
Type: System.ExceptionThe exception to handle.
handlingInstanceId
Type: System.GuidThe unique ID attached to the handling chain for this handling instance.
Return Value
Type: Exception
Modified exception to pass to the next exceptionHandlerData in the chain.
See Also
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace