Exemple #1
0
        private System.IAsyncResult OnBeginAddConfig(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string session = ((string)(inValues[0]));

            VPMobileObjects.VPMobileSettings config = ((VPMobileObjects.VPMobileSettings)(inValues[1]));
            return(this.BeginAddConfig(session, config, callback, asyncState));
        }
Exemple #2
0
 private object[] OnEndGetConfig(System.IAsyncResult result)
 {
     VPMobileObjects.VPMobileSettings retVal = this.EndGetConfig(result);
     return(new object[] {
         retVal
     });
 }
Exemple #3
0
 public void AddConfigAsync(string session, VPMobileObjects.VPMobileSettings config, object userState)
 {
     if ((this.onBeginAddConfigDelegate == null))
     {
         this.onBeginAddConfigDelegate = new BeginOperationDelegate(this.OnBeginAddConfig);
     }
     if ((this.onEndAddConfigDelegate == null))
     {
         this.onEndAddConfigDelegate = new EndOperationDelegate(this.OnEndAddConfig);
     }
     if ((this.onAddConfigCompletedDelegate == null))
     {
         this.onAddConfigCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddConfigCompleted);
     }
     base.InvokeAsync(this.onBeginAddConfigDelegate, new object[] {
         session,
         config
     }, this.onEndAddConfigDelegate, this.onAddConfigCompletedDelegate, userState);
 }
Exemple #4
0
 public void AddConfigAsync(string session, VPMobileObjects.VPMobileSettings config)
 {
     this.AddConfigAsync(session, config, null);
 }
Exemple #5
0
 public System.IAsyncResult BeginAddConfig(string session, VPMobileObjects.VPMobileSettings config, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginAddConfig(session, config, callback, asyncState));
 }
Exemple #6
0
 public bool AddConfig(string session, VPMobileObjects.VPMobileSettings config)
 {
     return(base.Channel.AddConfig(session, config));
 }