示例#1
0
 public System.IAsyncResult BeginGetDataUsingDataContract(CloudClientOnWindowsPhone.CloudService.CompositeType composite, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = composite;
     System.IAsyncResult _result = base.BeginInvoke("GetDataUsingDataContract", _args, callback, asyncState);
     return(_result);
 }
示例#2
0
 private object[] OnEndGetDataUsingDataContract(System.IAsyncResult result)
 {
     CloudClientOnWindowsPhone.CloudService.CompositeType retVal = ((CloudClientOnWindowsPhone.CloudService.IService1)(this)).EndGetDataUsingDataContract(result);
     return(new object[] {
         retVal
     });
 }
示例#3
0
 public void GetDataUsingDataContractAsync(CloudClientOnWindowsPhone.CloudService.CompositeType composite, object userState)
 {
     if ((this.onBeginGetDataUsingDataContractDelegate == null))
     {
         this.onBeginGetDataUsingDataContractDelegate = new BeginOperationDelegate(this.OnBeginGetDataUsingDataContract);
     }
     if ((this.onEndGetDataUsingDataContractDelegate == null))
     {
         this.onEndGetDataUsingDataContractDelegate = new EndOperationDelegate(this.OnEndGetDataUsingDataContract);
     }
     if ((this.onGetDataUsingDataContractCompletedDelegate == null))
     {
         this.onGetDataUsingDataContractCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDataUsingDataContractCompleted);
     }
     base.InvokeAsync(this.onBeginGetDataUsingDataContractDelegate, new object[] {
         composite
     }, this.onEndGetDataUsingDataContractDelegate, this.onGetDataUsingDataContractCompletedDelegate, userState);
 }
示例#4
0
 public CloudClientOnWindowsPhone.CloudService.CompositeType EndGetDataUsingDataContract(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     CloudClientOnWindowsPhone.CloudService.CompositeType _result = ((CloudClientOnWindowsPhone.CloudService.CompositeType)(base.EndInvoke("GetDataUsingDataContract", _args, result)));
     return(_result);
 }
示例#5
0
 public void GetDataUsingDataContractAsync(CloudClientOnWindowsPhone.CloudService.CompositeType composite)
 {
     this.GetDataUsingDataContractAsync(composite, null);
 }
示例#6
0
 private System.IAsyncResult OnBeginGetDataUsingDataContract(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     CloudClientOnWindowsPhone.CloudService.CompositeType composite = ((CloudClientOnWindowsPhone.CloudService.CompositeType)(inValues[0]));
     return(((CloudClientOnWindowsPhone.CloudService.IService1)(this)).BeginGetDataUsingDataContract(composite, callback, asyncState));
 }
示例#7
0
 System.IAsyncResult CloudClientOnWindowsPhone.CloudService.IService1.BeginGetDataUsingDataContract(CloudClientOnWindowsPhone.CloudService.CompositeType composite, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGetDataUsingDataContract(composite, callback, asyncState));
 }