示例#1
0
 private object[] OnEndGetDataUsingDataContract(System.IAsyncResult result)
 {
     ConsoleApplication1.ServiceReference1.CompositeType retVal = this.EndGetDataUsingDataContract(result);
     return(new object[] {
         retVal
     });
 }
示例#2
0
 public void GetDataUsingDataContractAsync(ConsoleApplication1.ServiceReference1.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);
 }
示例#3
0
 public System.Threading.Tasks.Task <ConsoleApplication1.ServiceReference1.CompositeType> GetDataUsingDataContractAsync(ConsoleApplication1.ServiceReference1.CompositeType composite)
 {
     return(base.Channel.GetDataUsingDataContractAsync(composite));
 }
示例#4
0
 public ConsoleApplication1.ServiceReference1.CompositeType GetDataUsingDataContract(ConsoleApplication1.ServiceReference1.CompositeType composite)
 {
     return(base.Channel.GetDataUsingDataContract(composite));
 }
示例#5
0
 public void GetDataUsingDataContractAsync(ConsoleApplication1.ServiceReference1.CompositeType composite)
 {
     this.GetDataUsingDataContractAsync(composite, null);
 }
示例#6
0
 private System.IAsyncResult OnBeginGetDataUsingDataContract(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     ConsoleApplication1.ServiceReference1.CompositeType composite = ((ConsoleApplication1.ServiceReference1.CompositeType)(inValues[0]));
     return(this.BeginGetDataUsingDataContract(composite, callback, asyncState));
 }
示例#7
0
 public System.IAsyncResult BeginGetDataUsingDataContract(ConsoleApplication1.ServiceReference1.CompositeType composite, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGetDataUsingDataContract(composite, callback, asyncState));
 }