C# Class Patterns.ExceptionHandling.ExceptionState

Encapsulates the state of an exception being handled by the Try class.
Show file Open project: patterns-group/code-patterns Class Usage Examples

Public Methods

Method Description
ExceptionState ( Exception exception, bool isHandled ) : System

Initializes a new instance of the ExceptionState class.

Method Details

ExceptionState() public method

Initializes a new instance of the ExceptionState class.
public ExceptionState ( Exception exception, bool isHandled ) : System
exception System.Exception The exception.
isHandled bool /// if set to true , the exception is handled. ///
return System