共用方式為


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

叫用專案時傳遞的狀態。

適用於