次の方法で共有


IScriptingContext Java Interface

The IScriptingContext interface enables your component to retrieve interfaces to the built-in objects provided by ASP. You should not use this interface; use the COM+ IObjectContext interface instead.


public interface asp.IScriptingContext  
  extends com.ms.com.IUnknown 
{ 
  //Methods 
  public abstract asp.IRequest getRequest(); 
  public abstract asp.IResponse getResponse(); 
  public abstract asp.IApplicationObject getApplication(); 
  public abstract asp.IServer getServer(); 
  public abstract asp.ISessionObject getSession(); 
} 

Remarks

You can use the methods exposed by the IScriptingContext interface to access any of the ASP built-in objects. IScriptingContext, however, has been replaced by the COM+ ObjectContext object as the preferred way to access the built-in objects. You should use the COM+ ObjectContext object instead of IScriptingContext.

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

See Also