public AsyncResult Deploy(byte[] zipFile, Domain.DeployOptions options)
        {
            DeployOptions optionMap = new DeployOptions
            {
                performRetrieve = options.PerformeRetrive,
                rollbackOnError = options.RollbackOnError,
                ignoreWarnings = options.IgnoreWarnings,
                checkOnly = options.CheckOnly,
                runTests = options.TestsForRun
            };

            return _service.deploy(zipFile, optionMap);
        }
 /// <remarks/>
 public void deployAsync(byte[] ZipFile, DeployOptions DeployOptions, object userState)
 {
     if ((this.deployOperationCompleted == null))
     {
         this.deployOperationCompleted = new System.Threading.SendOrPostCallback(this.OndeployOperationCompleted);
     }
     this.InvokeAsync("deploy", new object[]
     {
         ZipFile,
         DeployOptions
     }, this.deployOperationCompleted, userState);
 }
 /// <remarks/>
 public void deployAsync(byte[] ZipFile, DeployOptions DeployOptions)
 {
     this.deployAsync(ZipFile, DeployOptions, null);
 }
 /// <remarks/>
 public System.IAsyncResult Begindeploy(byte[] ZipFile, DeployOptions DeployOptions,
     System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("deploy", new object[]
     {
         ZipFile,
         DeployOptions
     }, callback, asyncState);
 }
 public AsyncResult deploy(
     [System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary")] byte[] ZipFile,
     DeployOptions DeployOptions)
 {
     object[] results = this.Invoke("deploy", new object[]
     {
         ZipFile,
         DeployOptions
     });
     return ((AsyncResult) (results[0]));
 }