共用方式為


IScriptingContext C++ Interface

The IScriptingContext interface is considered obsolete. You should not use it except in legacy ASP applications. The interface exposes methods that your component can use to retrieve the ASP built-in objects.

Methods in Vtable Order

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

The IScriptingContext interface defines the following methods.

Method

Description

get_Application

Retrieves the Application object. This object implements the IApplicationObject C++ Interface interface.

get_Request

Retrieves the Request object. This object implements the IRequest C++ Interface interface.

get_Response

Retrieves the Response object. This object implements the IResponse C++ Interface interface.

get_Server

Retrieves the Server object. This object implements the IServer C++ Interface interface.

get_Session

Retrieves the Session object. This object implements the ISessionObject C++ Interface interface.

Note

This interface also supports the IUnknown and IDispatch interface methods. For more information, see \winnt\system32\inetsrv\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