Compartir a través de


IRequest C++ Interface

The IRequest interface exposes methods that access the collections of the Request Object object.

Methods in Vtable Order

The IRequest interface inherits the methods of the standard COM interface IUnknown.

The IRequest interface defines the following methods.

Method

Description

BinaryRead

Retrieves the current request and places it into a safe array.

get_ClientCertificate

Retrieves the Request.ClientCertificate Collection collection.

get_Cookies

Retrieves the Request.Cookies Collection collection.

get_Form

Retrieves the Request.Form Collection collection.

get_Item

Retrieves an item from the Request collection by looking for the first match in the QueryString, Form, Cookies, ClientCertificate, and ServerVariables collections.

get_QueryString

Retrieves the Request.QueryString Collection collection.

Read

Reads the HTTP Request to the VARIANT, which can be greater than 1022 bytes.

get_ServerVariables

Retrieves the Request.ServerVariables Collection collection.

get_TotalBytes

Returns the size, in bytes, of the current request.

Note

This interface also supports the IUnknown and IDispatch interface methods. For more information, see \inetsrv\asp\cmpnts\asptlb.h, the header file installed with ASP.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS