OpcTaskSchedule Members

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

CustomScheduler

Gets or sets the callback used to schedule task invocations.

C#

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


Property Value

Scheduler

A Scheduler which is used to schedule task invocations, or a null reference (Nothing in Visual Basic) to use a default scheduler. The default value is a null reference (Nothing in Visual Basic).

DefaultScheduler

C#

[Obsolete("Use CustomScheduler instead.")]
public static OpcTaskSchedule.Scheduler DefaultScheduler { get; set; }


Property Value

Scheduler

QueryScheduler(SynchronizationContext, out Boolean)

C#

public static OpcTaskSchedule.Scheduler QueryScheduler(SynchronizationContext context, out bool isContextSensitive)


Parameters

context SynchronizationContext


isContextSensitive Boolean



Returns

Scheduler

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).

Schedule(Action, SynchronizationContext)

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

C#

public static void Schedule(Action action, SynchronizationContext context)


Parameters

action Action

The Action its invocation is to be scheduled.

context SynchronizationContext




Exceptions

ArgumentNullException

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