ExceptUtilIgnoreException(Action, String) Method
Ignore exceptions of given names when thrown in the given function.
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static void IgnoreException(
Action func,
params string[] exs
)
Public Shared Sub IgnoreException (
func As Action,
ParamArray exs As String()
)
public:
static void IgnoreException(
Action^ func,
... array<String^>^ exs
)
static member IgnoreException :
func : Action *
exs : string[] -> unit
Parameters
- func Action
- Function to execute.
- exs String
- Names of exceptions to ignore.