Share via


IView.RenderAsync(ViewContext) 方法

定義

使用指定的 context 以非同步方式呈現檢視。

public:
 System::Threading::Tasks::Task ^ RenderAsync(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ context);
public System.Threading.Tasks.Task RenderAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext context);
abstract member RenderAsync : Microsoft.AspNetCore.Mvc.Rendering.ViewContext -> System.Threading.Tasks.Task
Public Function RenderAsync (context As ViewContext) As Task

參數

傳回

Task完成時呈現檢視的 。

適用於