RedirectToPageResult Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
RedirectToPageResult(String)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName);
public RedirectToPageResult (string pageName);
public RedirectToPageResult (string? pageName);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String)
Parametry
- pageName
- String
Strona do przekierowania.
Dotyczy
RedirectToPageResult(String, Object)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::Object ^ routeValues);
public RedirectToPageResult (string pageName, object routeValues);
public RedirectToPageResult (string? pageName, object? routeValues);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, routeValues As Object)
Parametry
- pageName
- String
Strona do przekierowania.
- routeValues
- Object
Parametry trasy.
Dotyczy
RedirectToPageResult(String, String)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::String ^ pageHandler);
public RedirectToPageResult (string pageName, string pageHandler);
public RedirectToPageResult (string? pageName, string? pageHandler);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, pageHandler As String)
Parametry
- pageName
- String
Strona do przekierowania.
- pageHandler
- String
Procedura obsługi stron do przekierowania.
Dotyczy
RedirectToPageResult(String, String, Object)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues);
public RedirectToPageResult (string pageName, string pageHandler, object routeValues);
public RedirectToPageResult (string? pageName, string? pageHandler, object? routeValues);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, pageHandler As String, routeValues As Object)
Parametry
- pageName
- String
Strona do przekierowania.
- pageHandler
- String
Procedura obsługi stron do przekierowania.
- routeValues
- Object
Parametry trasy.
Dotyczy
RedirectToPageResult(String, String, Object, Boolean)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, bool permanent);
public RedirectToPageResult (string pageName, string pageHandler, object routeValues, bool permanent);
public RedirectToPageResult (string? pageName, string? pageHandler, object? routeValues, bool permanent);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * string * obj * bool -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, pageHandler As String, routeValues As Object, permanent As Boolean)
Parametry
- pageName
- String
Nazwa strony.
- pageHandler
- String
Procedura obsługi stron do przekierowania.
- routeValues
- Object
Parametry strony.
- permanent
- Boolean
Jeśli ustawiono wartość true, powoduje trwałe przekierowanie (301). W przeciwnym razie jest używane tymczasowe przekierowanie (302).
Dotyczy
RedirectToPageResult(String, String, Object, String)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, System::String ^ fragment);
public RedirectToPageResult (string pageName, string pageHandler, object routeValues, string fragment);
public RedirectToPageResult (string? pageName, string? pageHandler, object? routeValues, string? fragment);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, pageHandler As String, routeValues As Object, fragment As String)
Parametry
- pageName
- String
Nazwa strony.
- pageHandler
- String
Procedura obsługi stron do przekierowania.
- routeValues
- Object
Parametry trasy.
- fragment
- String
Fragment do dodania do adresu URL.
Dotyczy
RedirectToPageResult(String, String, Object, Boolean, Boolean)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, bool permanent, bool preserveMethod);
public RedirectToPageResult (string pageName, string pageHandler, object routeValues, bool permanent, bool preserveMethod);
public RedirectToPageResult (string? pageName, string? pageHandler, object? routeValues, bool permanent, bool preserveMethod);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * string * obj * bool * bool -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, pageHandler As String, routeValues As Object, permanent As Boolean, preserveMethod As Boolean)
Parametry
- pageName
- String
Nazwa strony.
- pageHandler
- String
Procedura obsługi stron do przekierowania.
- routeValues
- Object
Parametry strony.
- permanent
- Boolean
Jeśli ustawiono wartość true, powoduje trwałe przekierowanie (301). W przeciwnym razie jest używane tymczasowe przekierowanie (302).
- preserveMethod
- Boolean
Jeśli ustawiono wartość true, utwórz tymczasowe przekierowanie (307) lub trwałe przekierowanie (308) zachowaj początkową metodę żądania.
Dotyczy
RedirectToPageResult(String, String, Object, Boolean, String)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, bool permanent, System::String ^ fragment);
public RedirectToPageResult (string pageName, string pageHandler, object routeValues, bool permanent, string fragment);
public RedirectToPageResult (string? pageName, string? pageHandler, object? routeValues, bool permanent, string? fragment);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * string * obj * bool * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, pageHandler As String, routeValues As Object, permanent As Boolean, fragment As String)
Parametry
- pageName
- String
Nazwa strony.
- pageHandler
- String
Procedura obsługi stron do przekierowania.
- routeValues
- Object
Parametry strony.
- permanent
- Boolean
Jeśli ustawiono wartość true, powoduje trwałe przekierowanie (301). W przeciwnym razie jest używane tymczasowe przekierowanie (302).
- fragment
- String
Fragment do dodania do adresu URL.
Dotyczy
RedirectToPageResult(String, String, Object, Boolean, Boolean, String)
- Źródło:
- RedirectToPageResult.cs
- Źródło:
- RedirectToPageResult.cs
Inicjuje nowe wystąpienie elementu RedirectToPageResult z podanymi wartościami.
public:
RedirectToPageResult(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, bool permanent, bool preserveMethod, System::String ^ fragment);
public RedirectToPageResult (string pageName, string pageHandler, object routeValues, bool permanent, bool preserveMethod, string fragment);
public RedirectToPageResult (string? pageName, string? pageHandler, object? routeValues, bool permanent, bool preserveMethod, string? fragment);
new Microsoft.AspNetCore.Mvc.RedirectToPageResult : string * string * obj * bool * bool * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Sub New (pageName As String, pageHandler As String, routeValues As Object, permanent As Boolean, preserveMethod As Boolean, fragment As String)
Parametry
- pageName
- String
Nazwa strony.
- pageHandler
- String
Procedura obsługi stron do przekierowania.
- routeValues
- Object
Parametry strony.
- permanent
- Boolean
Jeśli ustawiono wartość true, powoduje trwałe przekierowanie (301). W przeciwnym razie jest używane tymczasowe przekierowanie (302).
- preserveMethod
- Boolean
Jeśli ustawiono wartość true, utwórz tymczasowe przekierowanie (307) lub trwałe przekierowanie (308) zachowaj początkową metodę żądania.
- fragment
- String
Fragment do dodania do adresu URL.
Dotyczy
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla