LocalRedirectResult Konstruktory

Definicja

Przeciążenia

LocalRedirectResult(String)

Inicjuje LocalRedirectResult nowe wystąpienie klasy z podanymi wartościami.

LocalRedirectResult(String, Boolean)

Inicjuje LocalRedirectResult nowe wystąpienie klasy z podanymi wartościami.

LocalRedirectResult(String, Boolean, Boolean)

Inicjuje LocalRedirectResult nowe wystąpienie klasy z podanymi wartościami.

LocalRedirectResult(String)

Źródło:
LocalRedirectResult.cs
Źródło:
LocalRedirectResult.cs

Inicjuje LocalRedirectResult nowe wystąpienie klasy z podanymi wartościami.

public:
 LocalRedirectResult(System::String ^ localUrl);
public LocalRedirectResult (string localUrl);
new Microsoft.AspNetCore.Mvc.LocalRedirectResult : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Sub New (localUrl As String)

Parametry

localUrl
String

Lokalny adres URL do przekierowania.

Dotyczy

LocalRedirectResult(String, Boolean)

Źródło:
LocalRedirectResult.cs
Źródło:
LocalRedirectResult.cs

Inicjuje LocalRedirectResult nowe wystąpienie klasy z podanymi wartościami.

public:
 LocalRedirectResult(System::String ^ localUrl, bool permanent);
public LocalRedirectResult (string localUrl, bool permanent);
new Microsoft.AspNetCore.Mvc.LocalRedirectResult : string * bool -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Sub New (localUrl As String, permanent As Boolean)

Parametry

localUrl
String

Lokalny adres URL do przekierowania.

permanent
Boolean

Określa, czy przekierowanie powinno być trwałe (301) lub tymczasowe (302).

Dotyczy

LocalRedirectResult(String, Boolean, Boolean)

Źródło:
LocalRedirectResult.cs
Źródło:
LocalRedirectResult.cs

Inicjuje LocalRedirectResult nowe wystąpienie klasy z podanymi wartościami.

public:
 LocalRedirectResult(System::String ^ localUrl, bool permanent, bool preserveMethod);
public LocalRedirectResult (string localUrl, bool permanent, bool preserveMethod);
new Microsoft.AspNetCore.Mvc.LocalRedirectResult : string * bool * bool -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Sub New (localUrl As String, permanent As Boolean, preserveMethod As Boolean)

Parametry

localUrl
String

Lokalny adres URL do przekierowania.

permanent
Boolean

Określa, czy przekierowanie powinno być trwałe (301) lub tymczasowe (302).

preserveMethod
Boolean

Jeśli ustawiono wartość true, utwórz tymczasowe przekierowanie (307) lub trwałe przekierowanie (308) zachowaj metodę żądania początkowego.

Dotyczy