ControllerBase.LocalRedirectPermanent(String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen localUrl
kullanarak true (Status301MovedPermanently) olarak ayarlanmış bir LocalRedirectResult nesne Permanent oluşturur.
public:
virtual Microsoft::AspNetCore::Mvc::LocalRedirectResult ^ LocalRedirectPermanent(System::String ^ localUrl);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.LocalRedirectResult LocalRedirectPermanent (string localUrl);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member LocalRedirectPermanent : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
override this.LocalRedirectPermanent : string -> Microsoft.AspNetCore.Mvc.LocalRedirectResult
Public Overridable Function LocalRedirectPermanent (localUrl As String) As LocalRedirectResult
Parametreler
- localUrl
- String
Yeniden yönlendirilecek yerel URL.
Döndürülenler
Yanıt için oluşturulan LocalRedirectResult .
- Öznitelikler