Ejemplo n.º 1
0
 /// <summary>
 /// 开启异步授权认证.
 /// </summary>
 /// <param name="callBack">授权回调方法.</param>
 /// <returns></returns>
 public IAsyncResult BeginValidate(AsyncCallback callBack)
 {
     try {
         return(_Execute.BeginInvoke(callBack, __flag));
     }
     catch (System.Exception e) {
         // Hide inside method invoking stack
         throw e;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 开启异步授权认证.
 /// </summary>
 /// <param name="callBack">授权回调方法.</param>
 /// <param name="Identification">The identification.</param>
 /// <returns></returns>
 public IAsyncResult BeginValidate(AsyncCallback callBack, string Identification)
 {
     try {
         return(_Execute.BeginInvoke(Identification, callBack, __flag));
     }
     catch (Exception e) {
         // Hide inside method invoking stack
         __flag = false;
         throw e;
     }
 }