Esempio n. 1
0
        public GetDataResult GetData(GetDataQuery query)
        {
            object[] results = this.Invoke("GetData", new object[] {
                query
            });

            return((GetDataResult)(results[0]));
        }
Esempio n. 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);
 }
Esempio n. 3
0
 /// <remarks/>
 public void GetDataAsync(GetDataQuery query)
 {
     this.GetDataAsync(query, null);
 }
Esempio n. 4
0
 /// <remarks/>
 public System.IAsyncResult BeginGetData(GetDataQuery query, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("GetData", new object[] {
         query
     }, callback, asyncState));
 }