IActionBlockService.SendAsync(Func<Task>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
Completion task when the action is posted