예제 #1
0
 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);
 }
예제 #2
0
 public void AddStudentAsync(StudentAsyncClient.ServiceReference1.Student st)
 {
     this.AddStudentAsync(st, null);
 }
예제 #3
0
 public System.IAsyncResult BeginAddStudent(StudentAsyncClient.ServiceReference1.Student st, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginAddStudent(st, callback, asyncState));
 }
예제 #4
0
 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));
 }
예제 #5
0
 public void AddStudent(StudentAsyncClient.ServiceReference1.Student st)
 {
     base.Channel.AddStudent(st);
 }