Redigera

Dela via


IWorkItemScheduler.QueueAction Method

Definition

Overloads

QueueAction(Action)

Schedules an action for execution by this instance.

QueueAction(Action<Object>, Object)

Schedules a work item for execution by this instance.

QueueAction(Action)

Schedules an action for execution by this instance.

public void QueueAction (Action action);
abstract member QueueAction : Action -> unit
Public Sub QueueAction (action As Action)

Parameters

action
Action

The action.

Applies to

QueueAction(Action<Object>, Object)

Schedules a work item for execution by this instance.

public void QueueAction (Action<object> action, object state);
abstract member QueueAction : Action<obj> * obj -> unit
Public Sub QueueAction (action As Action(Of Object), state As Object)

Parameters

action
Action<Object>

The work item.

state
Object

The state passed when invoking the item.

Applies to