typedef void __fastcall (__closure *TBeforeDispatchEvent)(const System::UnicodeString MethodName, System::Classes::TStream* const Request);
TBeforeDispatchEvent is the type of the BeforeDispatchEvent event on an invoker component.
TBeforeDispatchEvent is the type of the BeforeDispatchEvent event handler, which is called before an invoker executes a request by calling the target invokable interface.
MethodName is the name of the method that is about to be called.
Request is a stream from which the event handler can read the SOAP request that is about to be executed.