HttpContext HttpContext HttpContext HttpContext Constructors

Définition

Surcharges

HttpContext(HttpWorkerRequest) HttpContext(HttpWorkerRequest) HttpContext(HttpWorkerRequest) HttpContext(HttpWorkerRequest)

Initialise une nouvelle instance de la classe HttpContext qui utilise l'objet de requête de tâche spécifié.Initializes a new instance of the HttpContext class that uses the specified worker-request object.

HttpContext(HttpRequest, HttpResponse) HttpContext(HttpRequest, HttpResponse) HttpContext(HttpRequest, HttpResponse) HttpContext(HttpRequest, HttpResponse)

Initialise une nouvelle instance de la classe HttpContext avec des objets de requête et de réponse.Initializes a new instance of the HttpContext class by using the specified request and response objects.

HttpContext(HttpWorkerRequest) HttpContext(HttpWorkerRequest) HttpContext(HttpWorkerRequest) HttpContext(HttpWorkerRequest)

Initialise une nouvelle instance de la classe HttpContext qui utilise l'objet de requête de tâche spécifié.Initializes a new instance of the HttpContext class that uses the specified worker-request object.

public:
 HttpContext(System::Web::HttpWorkerRequest ^ wr);
public HttpContext (System.Web.HttpWorkerRequest wr);
new System.Web.HttpContext : System.Web.HttpWorkerRequest -> System.Web.HttpContext
Public Sub New (wr As HttpWorkerRequest)

Paramètres

wr
HttpWorkerRequest HttpWorkerRequest HttpWorkerRequest HttpWorkerRequest

Objet HttpWorkerRequest pour la requête HTTP actuelle.The HttpWorkerRequest object for the current HTTP request.

HttpContext(HttpRequest, HttpResponse) HttpContext(HttpRequest, HttpResponse) HttpContext(HttpRequest, HttpResponse) HttpContext(HttpRequest, HttpResponse)

Initialise une nouvelle instance de la classe HttpContext avec des objets de requête et de réponse.Initializes a new instance of the HttpContext class by using the specified request and response objects.

public:
 HttpContext(System::Web::HttpRequest ^ request, System::Web::HttpResponse ^ response);
public HttpContext (System.Web.HttpRequest request, System.Web.HttpResponse response);
new System.Web.HttpContext : System.Web.HttpRequest * System.Web.HttpResponse -> System.Web.HttpContext
Public Sub New (request As HttpRequest, response As HttpResponse)

Paramètres

request
HttpRequest HttpRequest HttpRequest HttpRequest

Objet HttpRequest pour la requête HTTP actuelle.The HttpRequest object for the current HTTP request.

response
HttpResponse HttpResponse HttpResponse HttpResponse

Objet HttpResponse pour la requête HTTP actuelle.The HttpResponse object for the current HTTP request.

S’applique à