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