typedef void __fastcall (__closure *TServerScheduledEvent)(System::TObject* Sender, const System::UnicodeString EventName, bool &Completed)