Exemplo n.º 1
0
 public System.IAsyncResult BeginLogin(www.tannguyen.com.types.LoginRequest request, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = request;
     System.IAsyncResult _result = base.BeginInvoke("Login", _args, callback, asyncState);
     return(_result);
 }
Exemplo n.º 2
0
 public void LoginAsync(www.tannguyen.com.types.LoginRequest request, object userState)
 {
     if ((this.onBeginLoginDelegate == null))
     {
         this.onBeginLoginDelegate = new BeginOperationDelegate(this.OnBeginLogin);
     }
     if ((this.onEndLoginDelegate == null))
     {
         this.onEndLoginDelegate = new EndOperationDelegate(this.OnEndLogin);
     }
     if ((this.onLoginCompletedDelegate == null))
     {
         this.onLoginCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLoginCompleted);
     }
     base.InvokeAsync(this.onBeginLoginDelegate, new object[] {
         request
     }, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);
 }
Exemplo n.º 3
0
 public void LoginAsync(www.tannguyen.com.types.LoginRequest request)
 {
     this.LoginAsync(request, null);
 }
Exemplo n.º 4
0
 private System.IAsyncResult OnBeginLogin(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     www.tannguyen.com.types.LoginRequest request = ((www.tannguyen.com.types.LoginRequest)(inValues[0]));
     return(((IMainService)(this)).BeginLogin(request, callback, asyncState));
 }
Exemplo n.º 5
0
 System.IAsyncResult IMainService.BeginLogin(www.tannguyen.com.types.LoginRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginLogin(request, callback, asyncState));
 }