TagHelperExecutionContext.SetOutputContentAsync 方法

定义

以异步方式执行子级,页面HtmlEncoder在作用域内,并将 的 Content 设置为Output呈现的结果。

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

返回

一个 Task ,在完成时将 的 Content 设置为Output子项呈现的内容。

适用于