# Sandbox.SandboxSystemExtensions.InvokeWithWarning

## Overload 1

```csharp
static void InvokeWithWarning(System.Action action)
```

Call an action, swallow any exceptions with a warning

### Parameters

- `action` (`System.Action`)

## Overload 2

```csharp
static void InvokeWithWarning(System.Action<T> action, T arg0)
```

### Parameters

- `action` (`System.Action<T>`)
- `arg0` (`T`)

## Overload 3

```csharp
static void InvokeWithWarning(System.Action<T1,T2> action, T1 arg0, T2 arg1)
```

### Parameters

- `action` (`System.Action<T1,T2>`)
- `arg0` (`T1`)
- `arg1` (`T2`)

Declared in [Sandbox.SandboxSystemExtensions](/api/Sandbox.SandboxSystemExtensions).
Assembly: `Sandbox.System`.
