public IAsyncResult BeginInvoke(Shared.InvokeRequest request, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = request;
     System.IAsyncResult _result = base.BeginInvoke("Invoke", _args, callback, asyncState);
     return(_result);
 }
 public void InvokeAsync(Shared.InvokeRequest request, object userState)
 {
     if ((this.onBeginInvokeDelegate == null))
     {
         this.onBeginInvokeDelegate = new BeginOperationDelegate(this.OnBeginInvoke);
     }
     if ((this.onEndInvokeDelegate == null))
     {
         this.onEndInvokeDelegate = new EndOperationDelegate(this.OnEndInvoke);
     }
     if ((this.onInvokeCompletedDelegate == null))
     {
         this.onInvokeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnInvokeCompleted);
     }
     base.InvokeAsync(this.onBeginInvokeDelegate, new object[] {
         request
     }, this.onEndInvokeDelegate, this.onInvokeCompletedDelegate, userState);
 }
 IAsyncResult IInvocableService.BeginInvoke(Shared.InvokeRequest request, AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginInvoke(request, callback, asyncState));
 }
 public void InvokeAsync(Shared.InvokeRequest request)
 {
     this.InvokeAsync(request, null);
 }
 private System.IAsyncResult OnBeginInvoke(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Shared.InvokeRequest request = ((Shared.InvokeRequest)(inValues[0]));
     return(((IInvocableService)(this)).BeginInvoke(request, callback, asyncState));
 }