Exemplo n.º 1
0
        private System.IAsyncResult OnBeginSubmitStatus(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string token = ((string)(inValues[0]));

            Random_Experiment_WPF.RandomExperimentServer.SQLData data = ((Random_Experiment_WPF.RandomExperimentServer.SQLData)(inValues[1]));
            return(this.BeginSubmitStatus(token, data, callback, asyncState));
        }
Exemplo n.º 2
0
 public void SubmitStatusAsync(string token, Random_Experiment_WPF.RandomExperimentServer.SQLData data, object userState)
 {
     if ((this.onBeginSubmitStatusDelegate == null))
     {
         this.onBeginSubmitStatusDelegate = new BeginOperationDelegate(this.OnBeginSubmitStatus);
     }
     if ((this.onEndSubmitStatusDelegate == null))
     {
         this.onEndSubmitStatusDelegate = new EndOperationDelegate(this.OnEndSubmitStatus);
     }
     if ((this.onSubmitStatusCompletedDelegate == null))
     {
         this.onSubmitStatusCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSubmitStatusCompleted);
     }
     base.InvokeAsync(this.onBeginSubmitStatusDelegate, new object[] {
         token,
         data
     }, this.onEndSubmitStatusDelegate, this.onSubmitStatusCompletedDelegate, userState);
 }
Exemplo n.º 3
0
 public void SubmitStatusAsync(string token, Random_Experiment_WPF.RandomExperimentServer.SQLData data)
 {
     this.SubmitStatusAsync(token, data, null);
 }
Exemplo n.º 4
0
 public System.IAsyncResult BeginSubmitStatus(string token, Random_Experiment_WPF.RandomExperimentServer.SQLData data, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginSubmitStatus(token, data, callback, asyncState));
 }
Exemplo n.º 5
0
 public string SubmitStatus(string token, Random_Experiment_WPF.RandomExperimentServer.SQLData data)
 {
     return(base.Channel.SubmitStatus(token, data));
 }