SystemTargetExtensions.ScheduleTask Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ScheduleTask(SystemTarget, Action) |
Planifie le fourni |
ScheduleTask(SystemTarget, Func<Task>) |
Planifie le fourni |
ScheduleTask<T>(SystemTarget, Func<Task<T>>) |
Planifie le fourni |
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
- self
- SystemTarget
Le SystemTarget.
- 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
- self
- SystemTarget
Le SystemTarget.
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
- self
- SystemTarget
Le SystemTarget.
Retours
Task qui se termine lorsque le action
est terminé.