ViewNotFoundEventData Конструктор

Определение

Инициализирует новый экземпляр ViewNotFoundEventData.

public:
 ViewNotFoundEventData(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, bool isMainPage, Microsoft::AspNetCore::Mvc::ActionResult ^ result, System::String ^ viewName, System::Collections::Generic::IEnumerable<System::String ^> ^ searchedLocations);
public ViewNotFoundEventData (Microsoft.AspNetCore.Mvc.ActionContext actionContext, bool isMainPage, Microsoft.AspNetCore.Mvc.ActionResult result, string viewName, System.Collections.Generic.IEnumerable<string> searchedLocations);
new Microsoft.AspNetCore.Mvc.Diagnostics.ViewNotFoundEventData : Microsoft.AspNetCore.Mvc.ActionContext * bool * Microsoft.AspNetCore.Mvc.ActionResult * string * seq<string> -> Microsoft.AspNetCore.Mvc.Diagnostics.ViewNotFoundEventData
Public Sub New (actionContext As ActionContext, isMainPage As Boolean, result As ActionResult, viewName As String, searchedLocations As IEnumerable(Of String))

Параметры

actionContext
ActionContext

ActionContext.

isMainPage
Boolean

Указывает, является ли эта страница main.

viewName
String

Имя представления.

searchedLocations
IEnumerable<String>

Расположения, в которые выполняется поиск представления.

Применяется к