ViewExecutor.ExecuteAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
응답에서 설정할 콘텐츠 형식 헤더 값입니다. 이면 null
가 DefaultContentType 사용됩니다.
반환
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 현재 요청과 연결된 입니다.
- viewData
- ViewDataDictionary
- tempData
- ITempDataDictionary
- contentType
- String
응답에서 설정할 콘텐츠 형식 헤더 값입니다. 이면 null
가 DefaultContentType 사용됩니다.
반환
Task 뷰 실행이 완료되면 완료되는 입니다.