Class ExceptionExtensions
Static extension helper methods on Exception.
Namespace: actionETL
Assembly: actionETL.dll
Syntax
public static class ExceptionExtensions
Methods
AddData(Exception, Object, Object)
Adds the key and value to the Data dictionary, the contents of which is normally logged. Typically used in an exception filter, which then adds the data without catching the exception.
Declaration
public static bool AddData(this Exception exception, object key, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception | The exception. |
| Object | key | The key. |
| Object | value | The value. |
Returns
| Type | Description |
|---|---|
| Boolean |
|