Esempio n. 1
0
 public System.IAsyncResult BeginGetToken(www.yourcompany.com.types.TokenRequest request, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = request;
     System.IAsyncResult _result = base.BeginInvoke("GetToken", _args, callback, asyncState);
     return(_result);
 }
Esempio n. 2
0
 public void GetTokenAsync(www.yourcompany.com.types.TokenRequest request, object userState)
 {
     if ((this.onBeginGetTokenDelegate == null))
     {
         this.onBeginGetTokenDelegate = new BeginOperationDelegate(this.OnBeginGetToken);
     }
     if ((this.onEndGetTokenDelegate == null))
     {
         this.onEndGetTokenDelegate = new EndOperationDelegate(this.OnEndGetToken);
     }
     if ((this.onGetTokenCompletedDelegate == null))
     {
         this.onGetTokenCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetTokenCompleted);
     }
     base.InvokeAsync(this.onBeginGetTokenDelegate, new object[] {
         request
     }, this.onEndGetTokenDelegate, this.onGetTokenCompletedDelegate, userState);
 }
Esempio n. 3
0
 public void GetTokenAsync(www.yourcompany.com.types.TokenRequest request)
 {
     this.GetTokenAsync(request, null);
 }
Esempio n. 4
0
 private System.IAsyncResult OnBeginGetToken(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     www.yourcompany.com.types.TokenRequest request = ((www.yourcompany.com.types.TokenRequest)(inValues[0]));
     return(((IMainService)(this)).BeginGetToken(request, callback, asyncState));
 }
Esempio n. 5
0
 System.IAsyncResult IMainService.BeginGetToken(www.yourcompany.com.types.TokenRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGetToken(request, callback, asyncState));
 }