public System.IAsyncResult BeginAddOptionSelection(OptionsWP7.StudentOptionsService.SelectionDetail selection, System.AsyncCallback callback, object asyncState) { object[] _args = new object[1]; _args[0] = selection; System.IAsyncResult _result = base.BeginInvoke("AddOptionSelection", _args, callback, asyncState); return(_result); }
public void AddOptionSelectionAsync(OptionsWP7.StudentOptionsService.SelectionDetail selection, object userState) { if ((this.onBeginAddOptionSelectionDelegate == null)) { this.onBeginAddOptionSelectionDelegate = new BeginOperationDelegate(this.OnBeginAddOptionSelection); } if ((this.onEndAddOptionSelectionDelegate == null)) { this.onEndAddOptionSelectionDelegate = new EndOperationDelegate(this.OnEndAddOptionSelection); } if ((this.onAddOptionSelectionCompletedDelegate == null)) { this.onAddOptionSelectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddOptionSelectionCompleted); } base.InvokeAsync(this.onBeginAddOptionSelectionDelegate, new object[] { selection }, this.onEndAddOptionSelectionDelegate, this.onAddOptionSelectionCompletedDelegate, userState); }
private System.IAsyncResult OnBeginAddOptionSelection(object[] inValues, System.AsyncCallback callback, object asyncState) { OptionsWP7.StudentOptionsService.SelectionDetail selection = ((OptionsWP7.StudentOptionsService.SelectionDetail)(inValues[0])); return(((OptionsWP7.StudentOptionsService.IStudentOptionsService)(this)).BeginAddOptionSelection(selection, callback, asyncState)); }
public void AddOptionSelectionAsync(OptionsWP7.StudentOptionsService.SelectionDetail selection) { this.AddOptionSelectionAsync(selection, null); }
System.IAsyncResult OptionsWP7.StudentOptionsService.IStudentOptionsService.BeginAddOptionSelection(OptionsWP7.StudentOptionsService.SelectionDetail selection, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginAddOptionSelection(selection, callback, asyncState)); }