Class DelegateExceptionHandling
Inheritance
DelegateExceptionHandling
Assembly: QFSW.BA.dll
Syntax
public static class DelegateExceptionHandling
Methods
SafeDynamicInvoke<T>(T, Action<Exception>, Object[])
Declaration
public static void SafeDynamicInvoke<T>(this T del, Action<Exception> errorHandler, params object[] args)
where T : Delegate
Parameters
Type Parameters
SafeDynamicInvoke<T>(T, Object[])
Declaration
public static void SafeDynamicInvoke<T>(this T del, params object[] args)
where T : Delegate
Parameters
| Type |
Name |
Description |
| T |
del |
|
| Object[] |
args |
|
Type Parameters
SafeInvoke(Action)
Declaration
public static void SafeInvoke(this Action del)
Parameters
| Type |
Name |
Description |
| Action |
del |
|
SafeInvoke(Action, Action<Exception>)
Declaration
public static void SafeInvoke(this Action del, Action<Exception> errorHandler)
Parameters
SafeInvoke<T1>(Action<T1>, T1)
Declaration
public static void SafeInvoke<T1>(this Action<T1> del, T1 arg1)
Parameters
| Type |
Name |
Description |
| Action<T1> |
del |
|
| T1 |
arg1 |
|
Type Parameters
SafeInvoke<T1>(Action<T1>, Action<Exception>, T1)
Declaration
public static void SafeInvoke<T1>(this Action<T1> del, Action<Exception> errorHandler, T1 arg1)
Parameters
Type Parameters
SafeInvoke<T1, T2>(Action<T1, T2>, T1, T2)
Declaration
public static void SafeInvoke<T1, T2>(this Action<T1, T2> del, T1 arg1, T2 arg2)
Parameters
| Type |
Name |
Description |
| Action<T1, T2> |
del |
|
| T1 |
arg1 |
|
| T2 |
arg2 |
|
Type Parameters
SafeInvoke<T1, T2>(Action<T1, T2>, Action<Exception>, T1, T2)
Declaration
public static void SafeInvoke<T1, T2>(this Action<T1, T2> del, Action<Exception> errorHandler, T1 arg1, T2 arg2)
Parameters
Type Parameters
SafeInvoke<T1, T2, T3>(Action<T1, T2, T3>, T1, T2, T3)
Declaration
public static void SafeInvoke<T1, T2, T3>(this Action<T1, T2, T3> del, T1 arg1, T2 arg2, T3 arg3)
Parameters
| Type |
Name |
Description |
| Action<T1, T2, T3> |
del |
|
| T1 |
arg1 |
|
| T2 |
arg2 |
|
| T3 |
arg3 |
|
Type Parameters
| Name |
Description |
| T1 |
|
| T2 |
|
| T3 |
|
SafeInvoke<T1, T2, T3>(Action<T1, T2, T3>, Action<Exception>, T1, T2, T3)
Declaration
public static void SafeInvoke<T1, T2, T3>(this Action<T1, T2, T3> del, Action<Exception> errorHandler, T1 arg1, T2 arg2, T3 arg3)
Parameters
Type Parameters
| Name |
Description |
| T1 |
|
| T2 |
|
| T3 |
|