共用方式為


RazorView.RenderAsync(ViewContext) 方法

定義

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

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

參數

傳回

Task完成時呈現檢視的 。

實作

適用於