Partager via


SystemTargetExtensions.ScheduleTask Méthode

Définition

Surcharges

ScheduleTask(SystemTarget, Action)

Planifie le fourni action sur le SystemTargetOrleans.Runtime.ISchedulingContext.

ScheduleTask(SystemTarget, Func<Task>)

Planifie le fourni action sur le SystemTargetOrleans.Runtime.ISchedulingContext.

ScheduleTask<T>(SystemTarget, Func<Task<T>>)

Planifie le fourni action sur le SystemTarget.

ScheduleTask(SystemTarget, Action)

Source:
SystemTargetExtensions.cs

Planifie le fourni action sur le SystemTargetOrleans.Runtime.ISchedulingContext.

public static System.Threading.Tasks.Task ScheduleTask (this Orleans.Runtime.SystemTarget self, Action action);
static member ScheduleTask : Orleans.Runtime.SystemTarget * Action -> System.Threading.Tasks.Task
<Extension()>
Public Function ScheduleTask (self As SystemTarget, action As Action) As Task

Paramètres

action
Action

Action.

Retours

Task qui se termine lorsque le action est terminé.

S’applique à

ScheduleTask(SystemTarget, Func<Task>)

Source:
SystemTargetExtensions.cs

Planifie le fourni action sur le SystemTargetOrleans.Runtime.ISchedulingContext.

public static System.Threading.Tasks.Task ScheduleTask (this Orleans.Runtime.SystemTarget self, Func<System.Threading.Tasks.Task> action);
static member ScheduleTask : Orleans.Runtime.SystemTarget * Func<System.Threading.Tasks.Task> -> System.Threading.Tasks.Task
<Extension()>
Public Function ScheduleTask (self As SystemTarget, action As Func(Of Task)) As Task

Paramètres

action
Func<Task>

Action.

Retours

Task qui se termine lorsque le action est terminé.

S’applique à

ScheduleTask<T>(SystemTarget, Func<Task<T>>)

Source:
SystemTargetExtensions.cs

Planifie le fourni action sur le SystemTarget.

public static System.Threading.Tasks.Task<T> ScheduleTask<T> (this Orleans.Runtime.SystemTarget self, Func<System.Threading.Tasks.Task<T>> action);
static member ScheduleTask : Orleans.Runtime.SystemTarget * Func<System.Threading.Tasks.Task<'T>> -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function ScheduleTask(Of T) (self As SystemTarget, action As Func(Of Task(Of T))) As Task(Of T)

Paramètres de type

T

Paramètres

action
Func<Task<T>>

Action.

Retours

Task<T>

Task qui se termine lorsque le action est terminé.

S’applique à