Partager via


ViewEngineResult.NotFound(String, IEnumerable<String>) Méthode

Définition

Retourne un résultat qui représente quand une vue est introuvable.

public:
 static Microsoft::AspNetCore::Mvc::ViewEngines::ViewEngineResult ^ NotFound(System::String ^ viewName, System::Collections::Generic::IEnumerable<System::String ^> ^ searchedLocations);
public static Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult NotFound (string viewName, System.Collections.Generic.IEnumerable<string> searchedLocations);
static member NotFound : string * seq<string> -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
Public Shared Function NotFound (viewName As String, searchedLocations As IEnumerable(Of String)) As ViewEngineResult

Paramètres

viewName
String

Nom de la vue.

searchedLocations
IEnumerable<String>

Emplacements recherchés.

Retours

Résultat introuvable.

S’applique à