Condividi tramite


SystemTargetExtensions.ScheduleTask Metodo

Definizione

Overload

ScheduleTask(SystemTarget, Action)

Pianifica l'oggetto fornito action in SystemTargetOrleans.Runtime.ISchedulingContext.

ScheduleTask(SystemTarget, Func<Task>)

Pianifica l'oggetto fornito action in SystemTargetOrleans.Runtime.ISchedulingContext.

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

Pianifica l'oggetto fornito action in SystemTarget.

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.

action
Func<Task>

L'azione.

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.

action
Func<Task<T>>

L'azione.

Restituisce

Task<T>

Oggetto Task che viene completato al termine dell'oggetto action .

Si applica a