Beispiel #1
0
 /// <summary>
 /// Ends the rate update.
 /// </summary>
 /// <param name="iar">The iar.</param>
 public void EndRateUpdate(IAsyncResult iar)
 {
     if (iar == null)
     {
         throw new NullReferenceException();
     }
     try {
         __RateExecute.EndInvoke(iar);
         iar.AsyncWaitHandle.Close();
     }
     catch (Exception e) {
         throw e;
     }
 }
Beispiel #2
0
 /// <summary>
 /// 异步回调结束.
 /// </summary>
 /// <param name="iar">The iar.</param>
 /// <returns></returns>
 public void EndReflectorPlugIn(IAsyncResult iar)
 {
     if (iar == null)
     {
         throw new NullReferenceException();
     }
     try {
         _Execute.EndInvoke(iar);
         iar.AsyncWaitHandle.Close();
     }
     catch (Exception e) {
         // Hide inside method invoking stack
         throw e;
     }
 }