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 时呈现视图的 。

实现

适用于