public void AddStudentAsync(StudentAsyncClient.ServiceReference1.Student st, object userState) { if ((this.onBeginAddStudentDelegate == null)) { this.onBeginAddStudentDelegate = new BeginOperationDelegate(this.OnBeginAddStudent); } if ((this.onEndAddStudentDelegate == null)) { this.onEndAddStudentDelegate = new EndOperationDelegate(this.OnEndAddStudent); } if ((this.onAddStudentCompletedDelegate == null)) { this.onAddStudentCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddStudentCompleted); } base.InvokeAsync(this.onBeginAddStudentDelegate, new object[] { st }, this.onEndAddStudentDelegate, this.onAddStudentCompletedDelegate, userState); }
public void AddStudentAsync(StudentAsyncClient.ServiceReference1.Student st) { this.AddStudentAsync(st, null); }
public System.IAsyncResult BeginAddStudent(StudentAsyncClient.ServiceReference1.Student st, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginAddStudent(st, callback, asyncState)); }
private System.IAsyncResult OnBeginAddStudent(object[] inValues, System.AsyncCallback callback, object asyncState) { StudentAsyncClient.ServiceReference1.Student st = ((StudentAsyncClient.ServiceReference1.Student)(inValues[0])); return(this.BeginAddStudent(st, callback, asyncState)); }
public void AddStudent(StudentAsyncClient.ServiceReference1.Student st) { base.Channel.AddStudent(st); }