RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRIO.DoBeforeExecute Method

Generates an OnBeforeExecute event.

Pascal
procedure DoBeforeExecute(const MethodName: string; Request: TStream); virtual;
C++
virtual __fastcall DoBeforeExecute(const AnsiString MethodName, TStream Request);

TRIO calls DoBeforeExecute internally before it sends a SOAP packet to the server for execution. This method simply generates an OnBeforeExecute event, passing the MethodName parameter and the string in the Request parameter to the event handler. Override this method to perform class-specific actions before or after the OnBeforeExecute event. 

MethodName is the name of the method that the encoded SOAP request calls. 

Request is a stream from which the encoded SOAP request packet can be read. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!