Пример #1
0
        public GetDataResult GetData(GetDataQuery query)
        {
            object[] results = this.Invoke("GetData", new object[] {
                query
            });

            return((GetDataResult)(results[0]));
        }
Пример #2
0
 /// <remarks/>
 public void GetDataAsync(GetDataQuery query, object userState)
 {
     if ((this.GetDataOperationCompleted == null))
     {
         this.GetDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataOperationCompleted);
     }
     this.InvokeAsync("GetData", new object[] {
         query
     }, this.GetDataOperationCompleted, userState);
 }
Пример #3
0
 /// <remarks/>
 public void GetDataAsync(GetDataQuery query)
 {
     this.GetDataAsync(query, null);
 }
Пример #4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetData(GetDataQuery query, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("GetData", new object[] {
         query
     }, callback, asyncState));
 }