Пример #1
0
 private void AsyncCallCrash(CrashDelegate caller, string processname)
 {
     caller.BeginInvoke(processname, asyncResult =>
     {
         AsyncResult ar          = (AsyncResult)asyncResult;
         CrashDelegate remoteDel = (CrashDelegate)ar.AsyncDelegate;
         remoteDel.EndInvoke(asyncResult);
     }, null);
 }
Пример #2
0
 public void Crash(string fields)
 {
     _crashDelegate.BeginInvoke(fields, null, null);
 }