RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvalidWebSession.Create Constructor

Creates and initializes an instance of TInvalidWebSession.

Pascal
constructor Create(const AMsg: string);
C++
__fastcall TInvalidWebSession(const AnsiString AMsg);

Do not create instances of TInvalidWebSession. WebSnap applications automatically create TInvalidWebSession objects when a call to the TWebSession constructor fails.  

AMsg is the error message from the exception that was raised within a call to the TWebSession constructor. This error message is used for any ESessionException exception that the TInvalidWebSession object raises. 

 

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