# OpcTaskSchedule.Scheduler Delegate

> Reference: Defines a method which is used to schedule the invocation of the action using custom queuing and scheduling mechanisms.

<span class="api-meta">since v2.7</span>

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Defines a method which is used to schedule the invocation of the `action` using custom queuing and scheduling mechanisms.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public delegate void OpcTaskSchedule.Scheduler(Action action)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Delegate Sub OpcTaskSchedule.Scheduler(action As Action)
```

</div>

## Parameters

| Name | Type | Description |
|---|---|---|
| `action` | [Action](https://learn.microsoft.com/dotnet/api/system.action) | The [Action](https://learn.microsoft.com/dotnet/api/system.action) its invocation is to be scheduled. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.7–v2.59 |
