IWorkItemScheduler.QueueAction 方法

定义

重载

QueueAction(Action)

计划此实例要执行的操作。

QueueAction(Action<Object>, Object)

计划此实例执行的工作项。

QueueAction(Action)

计划此实例要执行的操作。

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

参数

action
Action

操作本身。

适用于

QueueAction(Action<Object>, Object)

计划此实例执行的工作项。

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)

参数

action
Action<Object>

工作项。

state
Object

调用项时通过的状态。

适用于