다음을 통해 공유


ViewExecutor.ExecuteAsync 메서드

정의

오버로드

ExecuteAsync(ViewContext, String, Nullable<Int32>)

뷰를 비동기적으로 실행합니다.

ExecuteAsync(ActionContext, IView, ViewDataDictionary, ITempDataDictionary, String, Nullable<Int32>)

뷰를 비동기적으로 실행합니다.

ExecuteAsync(ViewContext, String, Nullable<Int32>)

Source:
ViewExecutor.cs
Source:
ViewExecutor.cs
Source:
ViewExecutor.cs

뷰를 비동기적으로 실행합니다.

protected:
 System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext, System::String ^ contentType, Nullable<int> statusCode);
protected System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, string contentType, int? statusCode);
protected System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, string? contentType, int? statusCode);
member this.ExecuteAsync : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * string * Nullable<int> -> System.Threading.Tasks.Task
Protected Function ExecuteAsync (viewContext As ViewContext, contentType As String, statusCode As Nullable(Of Integer)) As Task

매개 변수

viewContext
ViewContext

ViewContext 현재 요청과 연결된 입니다.

contentType
String

응답에서 설정할 콘텐츠 형식 헤더 값입니다. 이면 nullDefaultContentType 사용됩니다.

statusCode
Nullable<Int32>

응답에서 설정할 HTTP 상태 코드입니다. null일 수 있습니다.

반환

Task 뷰 실행이 완료되면 완료되는 입니다.

적용 대상

ExecuteAsync(ActionContext, IView, ViewDataDictionary, ITempDataDictionary, String, Nullable<Int32>)

Source:
ViewExecutor.cs
Source:
ViewExecutor.cs
Source:
ViewExecutor.cs

뷰를 비동기적으로 실행합니다.

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ view, Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ viewData, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionary ^ tempData, System::String ^ contentType, Nullable<int> statusCode);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData, string contentType, int? statusCode);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ViewEngines.IView view, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary tempData, string? contentType, int? statusCode);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewEngines.IView * Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary * string * Nullable<int> -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ViewEngines.IView * Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionary * string * Nullable<int> -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (actionContext As ActionContext, view As IView, viewData As ViewDataDictionary, tempData As ITempDataDictionary, contentType As String, statusCode As Nullable(Of Integer)) As Task

매개 변수

actionContext
ActionContext

ActionContext 현재 요청과 연결된 입니다.

view
IView

IView

contentType
String

응답에서 설정할 콘텐츠 형식 헤더 값입니다. 이면 nullDefaultContentType 사용됩니다.

statusCode
Nullable<Int32>

응답에서 설정할 HTTP 상태 코드입니다. null일 수 있습니다.

반환

Task 뷰 실행이 완료되면 완료되는 입니다.

적용 대상