public System.IAsyncResult BeginUpdate(DataSetInDataGrid.Silverlight.MyDataService.DataSetData d, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = d; System.IAsyncResult _result = base.BeginInvoke("Update", _args, callback, asyncState); return(_result); }
public DataSetInDataGrid.Silverlight.MyDataService.DataSetData EndGetDataSetData(out DataSetInDataGrid.Silverlight.MyDataService.CustomException ServiceError, System.IAsyncResult result) { object[] _args = new object[1]; DataSetInDataGrid.Silverlight.MyDataService.DataSetData _result = ((DataSetInDataGrid.Silverlight.MyDataService.DataSetData)(base.EndInvoke("GetDataSetData", _args, result))); ServiceError = ((DataSetInDataGrid.Silverlight.MyDataService.CustomException)(_args[0])); return(_result); }
private object[] OnEndGetDataSetData(System.IAsyncResult result) { DataSetInDataGrid.Silverlight.MyDataService.CustomException ServiceError = this.GetDefaultValueForInitialization <DataSetInDataGrid.Silverlight.MyDataService.CustomException>(); DataSetInDataGrid.Silverlight.MyDataService.DataSetData retVal = ((DataSetInDataGrid.Silverlight.MyDataService.GetData)(this)).EndGetDataSetData(out ServiceError, result); return(new object[] { ServiceError, retVal }); }
public void UpdateAsync(DataSetInDataGrid.Silverlight.MyDataService.DataSetData d, object userState) { if ((this.onBeginUpdateDelegate == null)) { this.onBeginUpdateDelegate = new BeginOperationDelegate(this.OnBeginUpdate); } if ((this.onEndUpdateDelegate == null)) { this.onEndUpdateDelegate = new EndOperationDelegate(this.OnEndUpdate); } if ((this.onUpdateCompletedDelegate == null)) { this.onUpdateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateCompleted); } base.InvokeAsync(this.onBeginUpdateDelegate, new object[] { d }, this.onEndUpdateDelegate, this.onUpdateCompletedDelegate, userState); }
public void UpdateAsync(DataSetInDataGrid.Silverlight.MyDataService.DataSetData d) { this.UpdateAsync(d, null); }
private System.IAsyncResult OnBeginUpdate(object[] inValues, System.AsyncCallback callback, object asyncState) { DataSetInDataGrid.Silverlight.MyDataService.DataSetData d = ((DataSetInDataGrid.Silverlight.MyDataService.DataSetData)(inValues[0])); return(((DataSetInDataGrid.Silverlight.MyDataService.GetData)(this)).BeginUpdate(d, callback, asyncState)); }
System.IAsyncResult DataSetInDataGrid.Silverlight.MyDataService.GetData.BeginUpdate(DataSetInDataGrid.Silverlight.MyDataService.DataSetData d, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdate(d, callback, asyncState)); }