public void GetRecordsCountAsync(AsyncDataLoading.ServiceReference1.GetRecordsCountRequest request, object userState)
 {
     if ((this.onBeginGetRecordsCountDelegate == null))
     {
         this.onBeginGetRecordsCountDelegate = new BeginOperationDelegate(this.OnBeginGetRecordsCount);
     }
     if ((this.onEndGetRecordsCountDelegate == null))
     {
         this.onEndGetRecordsCountDelegate = new EndOperationDelegate(this.OnEndGetRecordsCount);
     }
     if ((this.onGetRecordsCountCompletedDelegate == null))
     {
         this.onGetRecordsCountCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRecordsCountCompleted);
     }
     base.InvokeAsync(this.onBeginGetRecordsCountDelegate, new object[] {
         request
     }, this.onEndGetRecordsCountDelegate, this.onGetRecordsCountCompletedDelegate, userState);
 }
 public void GetRecordsCountAsync(AsyncDataLoading.ServiceReference1.GetRecordsCountRequest request)
 {
     this.GetRecordsCountAsync(request, null);
 }
 public System.IAsyncResult BeginGetRecordsCount(AsyncDataLoading.ServiceReference1.GetRecordsCountRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGetRecordsCount(request, callback, asyncState));
 }
 private System.IAsyncResult OnBeginGetRecordsCount(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     AsyncDataLoading.ServiceReference1.GetRecordsCountRequest request = ((AsyncDataLoading.ServiceReference1.GetRecordsCountRequest)(inValues[0]));
     return(this.BeginGetRecordsCount(request, callback, asyncState));
 }
 public AsyncDataLoading.ServiceReference1.GetRecordsCountResponse GetRecordsCount(AsyncDataLoading.ServiceReference1.GetRecordsCountRequest request)
 {
     return(base.Channel.GetRecordsCount(request));
 }