public ResInvokeElem(Delegate func, object[] args) { Function = func; Args = args; Sync = new AutoResetEvent(false); }