private void AsyncCallCrash(CrashDelegate caller, string processname) { caller.BeginInvoke(processname, asyncResult => { AsyncResult ar = (AsyncResult)asyncResult; CrashDelegate remoteDel = (CrashDelegate)ar.AsyncDelegate; remoteDel.EndInvoke(asyncResult); }, null); }
public void Crash(string fields) { _crashDelegate.BeginInvoke(fields, null, null); }