SystemTargetExtensions.ScheduleTask Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ScheduleTask(SystemTarget, Action) |
Pianifica l'oggetto fornito |
ScheduleTask(SystemTarget, Func<Task>) |
Pianifica l'oggetto fornito |
ScheduleTask<T>(SystemTarget, Func<Task<T>>) |
Pianifica l'oggetto fornito |
ScheduleTask(SystemTarget, Action)
- Origine:
- SystemTargetExtensions.cs
Pianifica l'oggetto fornito action
in 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
Parametri
- self
- SystemTarget
Oggetto SystemTarget.
- action
- Action
L'azione.
Restituisce
Oggetto Task che viene completato al termine dell'oggetto action
.
Si applica a
ScheduleTask(SystemTarget, Func<Task>)
- Origine:
- SystemTargetExtensions.cs
Pianifica l'oggetto fornito action
in 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
Parametri
- self
- SystemTarget
Oggetto SystemTarget.
Restituisce
Oggetto Task che viene completato al termine dell'oggetto action
.
Si applica a
ScheduleTask<T>(SystemTarget, Func<Task<T>>)
- Origine:
- SystemTargetExtensions.cs
Pianifica l'oggetto fornito action
in 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)
Parametri di tipo
- T
Parametri
- self
- SystemTarget
Oggetto SystemTarget.
Restituisce
Oggetto Task che viene completato al termine dell'oggetto action
.