OpcTaskSchedule Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcTaskSchedule type exposes the following members.

DefaultScheduler

Gets or sets the callback used to schedule task invocations.

C#

public static OpcTaskSchedule.Scheduler DefaultScheduler { get; set; }


Property Value

Scheduler

A Scheduler which is used to schedule task invocations of the Action's passed to Schedule(Action). If a null reference (Nothing in Visual Basic) is specified an alternative default scheduler is used (see Run(Action)).

Schedule(Action)

Schedules the invocation of the action specified using custom queuing and scheduling mechanisms.

C#

public static void Schedule(Action action)


Parameters

action Action

The Action its invocation is to be scheduled.



Exceptions

ArgumentNullException

The action is a null reference (Nothing in Visual Basic).