RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSServerClass.OnPrepare Event

Occurs when a server method is about to be prepared.

Pascal
property OnPrepare: TDSPrepareEvent;
C++
__property TDSPrepareEvent OnPrepare;

Use this method to be notified when a server method is about to be prepared. This event can be used as a recording mechanism or to prevent access to a server method. All server methods are prepared before they are invoked. If the implementation of this event handler throws an exception, the server method is not prepared or invoked. 

 

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