Share via


TagHelperExecutionContext.SetOutputContentAsync Method

Definition

Executes children asynchronously with the page's HtmlEncoder in scope and sets Output's Content to the rendered results.

public:
 System::Threading::Tasks::Task ^ SetOutputContentAsync();
public System.Threading.Tasks.Task SetOutputContentAsync ();
member this.SetOutputContentAsync : unit -> System.Threading.Tasks.Task
Public Function SetOutputContentAsync () As Task

Returns

A Task that on completion sets Output's Content to the children's rendered content.

Applies to