Compartir a través de


IActionBlockService.SendAsync(Func<Task>) Method

Definition

Post an action block into the workspace

public:
 System::Threading::Tasks::Task ^ SendAsync(Func<System::Threading::Tasks::Task ^> ^ action);
public System.Threading.Tasks.Task SendAsync (Func<System.Threading.Tasks.Task> action);
abstract member SendAsync : Func<System.Threading.Tasks.Task> -> System.Threading.Tasks.Task
Public Function SendAsync (action As Func(Of Task)) As Task

Parameters

action
Func<Task>

Callback to execute in our service

Returns

Completion task when the action is posted

Applies to