RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebAppPageModuleFactory.Create Constructor

Creates and initializes an instance of TWebAppPageModuleFactory.

Pascal
constructor Create(AComponentClass: TComponentClass; AWebPageInfo: TAbstractWebPageInfo; ACacheMode: TWebModuleCacheMode = caCache);
C++
__fastcall TWebAppPageModuleFactory(TComponentClass AComponentClass, TAbstractWebPageInfo AWebPageInfo, TWebModuleCacheMode ACacheMode = caCache);

Call Create to instantiate a Web page module factory. Typically, the WebSnap application wizard generates the call to the constructor in the initialization section of the Web application page module's unit. 

AComponentClass is the class of the Web application page module that this factory object creates. 

AWebPageInfo describes the attributes of the Web application page module, such as the page name, page title, access strings, and so on. This becomes the value of the WebPageInfo property. 

ACacheMode indicates whether the factory can cache Web application page module instances for reuse with subsequent request messages. This becomes the value of the CacheMode property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!