private object[] OnEndGetDataUsingDataContract(System.IAsyncResult result) { ConsoleApplication1.ServiceReference1.CompositeType retVal = this.EndGetDataUsingDataContract(result); return(new object[] { retVal }); }
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); }
public System.Threading.Tasks.Task <ConsoleApplication1.ServiceReference1.CompositeType> GetDataUsingDataContractAsync(ConsoleApplication1.ServiceReference1.CompositeType composite) { return(base.Channel.GetDataUsingDataContractAsync(composite)); }
public ConsoleApplication1.ServiceReference1.CompositeType GetDataUsingDataContract(ConsoleApplication1.ServiceReference1.CompositeType composite) { return(base.Channel.GetDataUsingDataContract(composite)); }
public void GetDataUsingDataContractAsync(ConsoleApplication1.ServiceReference1.CompositeType composite) { this.GetDataUsingDataContractAsync(composite, null); }
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)); }
public System.IAsyncResult BeginGetDataUsingDataContract(ConsoleApplication1.ServiceReference1.CompositeType composite, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginGetDataUsingDataContract(composite, callback, asyncState)); }