Aracılığıyla paylaş


ResponseExtensions Sınıf

Tanım

için HttpResponseuzantı yöntemleri.

public ref class ResponseExtensions abstract sealed
public static class ResponseExtensions
type ResponseExtensions = class
Public Module ResponseExtensions
Devralma
ResponseExtensions

Yöntemler

Clear(HttpResponse)

HTTP yanıtını temizler.

Bu çağrı yanıt üst bilgilerini, yanıt durum kodunu ve yanıt gövdesini sıfırlar.

Redirect(HttpResponse, String, Boolean, Boolean)

İstemciye bir yeniden yönlendirme yanıtı (HTTP 301, HTTP 302, HTTP 307 veya HTTP 308) döndürür.

Şunlara uygulanır