Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcTaskSchedule type exposes the following members.
Gets or sets the callback used to schedule task invocations.
C#
public static OpcTaskSchedule.Scheduler CustomScheduler { get; set; }
Property Value
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).
C#
[Obsolete("Use CustomScheduler instead.")] public static OpcTaskSchedule.Scheduler DefaultScheduler { get; set; }
Property Value
C#
public static OpcTaskSchedule.Scheduler QueryScheduler(SynchronizationContext context, out bool isContextSensitive)
Parameters
context
SynchronizationContext
isContextSensitive
Boolean
Returns
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
The action
is a null reference (Nothing in Visual Basic).