//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1318
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.1318.
// 
#pragma warning disable 1591

namespace TeamBuild.BuildServer {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="BuildControllerSoap", Namespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03")]
    public partial class BuildController : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback StartBuildOperationCompleted;
        
        private System.Threading.SendOrPostCallback RemoveRunOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeleteBuildOperationCompleted;
        
        private System.Threading.SendOrPostCallback ValidateBuildStartOperationCompleted;
        
        private System.Threading.SendOrPostCallback StopBuildOperationCompleted;
        
        private System.Threading.SendOrPostCallback BuildCompletedOperationCompleted;
        
        private System.Threading.SendOrPostCallback ReportBuildErrorOperationCompleted;
        
        private System.Threading.SendOrPostCallback InsertBuildQualityOperationCompleted;
        
        private System.Threading.SendOrPostCallback RemoveBuildQualityOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public BuildController() {
            this.Url = global::TeamBuild.Properties.Settings.Default.TeamBuild_BuildServer_BuildController;
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event StartBuildCompletedEventHandler StartBuildCompleted;
        
        /// <remarks/>
        public event RemoveRunCompletedEventHandler RemoveRunCompleted;
        
        /// <remarks/>
        public event DeleteBuildCompletedEventHandler DeleteBuildCompleted;
        
        /// <remarks/>
        public event ValidateBuildStartCompletedEventHandler ValidateBuildStartCompleted;
        
        /// <remarks/>
        public event StopBuildCompletedEventHandler StopBuildCompleted;
        
        /// <remarks/>
        public event BuildCompletedCompletedEventHandler BuildCompletedCompleted;
        
        /// <remarks/>
        public event ReportBuildErrorCompletedEventHandler ReportBuildErrorCompleted;
        
        /// <remarks/>
        public event InsertBuildQualityCompletedEventHandler InsertBuildQualityCompleted;
        
        /// <remarks/>
        public event RemoveBuildQualityCompletedEventHandler RemoveBuildQualityCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Star" +
            "tBuild", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string StartBuild(BuildParameters buildParameters) {
            object[] results = this.Invoke("StartBuild", new object[] {
                        buildParameters});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void StartBuildAsync(BuildParameters buildParameters) {
            this.StartBuildAsync(buildParameters, null);
        }
        
        /// <remarks/>
        public void StartBuildAsync(BuildParameters buildParameters, object userState) {
            if ((this.StartBuildOperationCompleted == null)) {
                this.StartBuildOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStartBuildOperationCompleted);
            }
            this.InvokeAsync("StartBuild", new object[] {
                        buildParameters}, this.StartBuildOperationCompleted, userState);
        }
        
        private void OnStartBuildOperationCompleted(object arg) {
            if ((this.StartBuildCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.StartBuildCompleted(this, new StartBuildCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Remo" +
            "veRun", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool RemoveRun(string buildUri, System.Guid runId) {
            object[] results = this.Invoke("RemoveRun", new object[] {
                        buildUri,
                        runId});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void RemoveRunAsync(string buildUri, System.Guid runId) {
            this.RemoveRunAsync(buildUri, runId, null);
        }
        
        /// <remarks/>
        public void RemoveRunAsync(string buildUri, System.Guid runId, object userState) {
            if ((this.RemoveRunOperationCompleted == null)) {
                this.RemoveRunOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveRunOperationCompleted);
            }
            this.InvokeAsync("RemoveRun", new object[] {
                        buildUri,
                        runId}, this.RemoveRunOperationCompleted, userState);
        }
        
        private void OnRemoveRunOperationCompleted(object arg) {
            if ((this.RemoveRunCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RemoveRunCompleted(this, new RemoveRunCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Dele" +
            "teBuild", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool DeleteBuild(string buildUri, out string failureMessage) {
            object[] results = this.Invoke("DeleteBuild", new object[] {
                        buildUri});
            failureMessage = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void DeleteBuildAsync(string buildUri) {
            this.DeleteBuildAsync(buildUri, null);
        }
        
        /// <remarks/>
        public void DeleteBuildAsync(string buildUri, object userState) {
            if ((this.DeleteBuildOperationCompleted == null)) {
                this.DeleteBuildOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteBuildOperationCompleted);
            }
            this.InvokeAsync("DeleteBuild", new object[] {
                        buildUri}, this.DeleteBuildOperationCompleted, userState);
        }
        
        private void OnDeleteBuildOperationCompleted(object arg) {
            if ((this.DeleteBuildCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeleteBuildCompleted(this, new DeleteBuildCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Vali" +
            "dateBuildStart", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool ValidateBuildStart(string teamProject, string buildType, string buildMachine) {
            object[] results = this.Invoke("ValidateBuildStart", new object[] {
                        teamProject,
                        buildType,
                        buildMachine});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void ValidateBuildStartAsync(string teamProject, string buildType, string buildMachine) {
            this.ValidateBuildStartAsync(teamProject, buildType, buildMachine, null);
        }
        
        /// <remarks/>
        public void ValidateBuildStartAsync(string teamProject, string buildType, string buildMachine, object userState) {
            if ((this.ValidateBuildStartOperationCompleted == null)) {
                this.ValidateBuildStartOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateBuildStartOperationCompleted);
            }
            this.InvokeAsync("ValidateBuildStart", new object[] {
                        teamProject,
                        buildType,
                        buildMachine}, this.ValidateBuildStartOperationCompleted, userState);
        }
        
        private void OnValidateBuildStartOperationCompleted(object arg) {
            if ((this.ValidateBuildStartCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ValidateBuildStartCompleted(this, new ValidateBuildStartCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Stop" +
            "Build", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool StopBuild(string buildUri, out string failureMessage) {
            object[] results = this.Invoke("StopBuild", new object[] {
                        buildUri});
            failureMessage = ((string)(results[1]));
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void StopBuildAsync(string buildUri) {
            this.StopBuildAsync(buildUri, null);
        }
        
        /// <remarks/>
        public void StopBuildAsync(string buildUri, object userState) {
            if ((this.StopBuildOperationCompleted == null)) {
                this.StopBuildOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStopBuildOperationCompleted);
            }
            this.InvokeAsync("StopBuild", new object[] {
                        buildUri}, this.StopBuildOperationCompleted, userState);
        }
        
        private void OnStopBuildOperationCompleted(object arg) {
            if ((this.StopBuildCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.StopBuildCompleted(this, new StopBuildCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Buil" +
            "dCompleted", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void BuildCompleted(string buildUri) {
            this.Invoke("BuildCompleted", new object[] {
                        buildUri});
        }
        
        /// <remarks/>
        public void BuildCompletedAsync(string buildUri) {
            this.BuildCompletedAsync(buildUri, null);
        }
        
        /// <remarks/>
        public void BuildCompletedAsync(string buildUri, object userState) {
            if ((this.BuildCompletedOperationCompleted == null)) {
                this.BuildCompletedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnBuildCompletedOperationCompleted);
            }
            this.InvokeAsync("BuildCompleted", new object[] {
                        buildUri}, this.BuildCompletedOperationCompleted, userState);
        }
        
        private void OnBuildCompletedOperationCompleted(object arg) {
            if ((this.BuildCompletedCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.BuildCompletedCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Repo" +
            "rtBuildError", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void ReportBuildError(string buildUri, int exitCode) {
            this.Invoke("ReportBuildError", new object[] {
                        buildUri,
                        exitCode});
        }
        
        /// <remarks/>
        public void ReportBuildErrorAsync(string buildUri, int exitCode) {
            this.ReportBuildErrorAsync(buildUri, exitCode, null);
        }
        
        /// <remarks/>
        public void ReportBuildErrorAsync(string buildUri, int exitCode, object userState) {
            if ((this.ReportBuildErrorOperationCompleted == null)) {
                this.ReportBuildErrorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReportBuildErrorOperationCompleted);
            }
            this.InvokeAsync("ReportBuildError", new object[] {
                        buildUri,
                        exitCode}, this.ReportBuildErrorOperationCompleted, userState);
        }
        
        private void OnReportBuildErrorOperationCompleted(object arg) {
            if ((this.ReportBuildErrorCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ReportBuildErrorCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Inse" +
            "rtBuildQuality", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void InsertBuildQuality(string teamProject, string buildQuality) {
            this.Invoke("InsertBuildQuality", new object[] {
                        teamProject,
                        buildQuality});
        }
        
        /// <remarks/>
        public void InsertBuildQualityAsync(string teamProject, string buildQuality) {
            this.InsertBuildQualityAsync(teamProject, buildQuality, null);
        }
        
        /// <remarks/>
        public void InsertBuildQualityAsync(string teamProject, string buildQuality, object userState) {
            if ((this.InsertBuildQualityOperationCompleted == null)) {
                this.InsertBuildQualityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInsertBuildQualityOperationCompleted);
            }
            this.InvokeAsync("InsertBuildQuality", new object[] {
                        teamProject,
                        buildQuality}, this.InsertBuildQualityOperationCompleted, userState);
        }
        
        private void OnInsertBuildQualityOperationCompleted(object arg) {
            if ((this.InsertBuildQualityCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.InsertBuildQualityCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03/Remo" +
            "veBuildQuality", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public void RemoveBuildQuality(string teamProject, string buildQuality) {
            this.Invoke("RemoveBuildQuality", new object[] {
                        teamProject,
                        buildQuality});
        }
        
        /// <remarks/>
        public void RemoveBuildQualityAsync(string teamProject, string buildQuality) {
            this.RemoveBuildQualityAsync(teamProject, buildQuality, null);
        }
        
        /// <remarks/>
        public void RemoveBuildQualityAsync(string teamProject, string buildQuality, object userState) {
            if ((this.RemoveBuildQualityOperationCompleted == null)) {
                this.RemoveBuildQualityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveBuildQualityOperationCompleted);
            }
            this.InvokeAsync("RemoveBuildQuality", new object[] {
                        teamProject,
                        buildQuality}, this.RemoveBuildQualityOperationCompleted, userState);
        }
        
        private void OnRemoveBuildQualityOperationCompleted(object arg) {
            if ((this.RemoveBuildQualityCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RemoveBuildQualityCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.1318")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Build/BuildController/03")]
    public partial class BuildParameters {
        
        private string teamFoundationServerField;
        
        private string teamProjectField;
        
        private string buildTypeField;
        
        private string buildDirectoryField;
        
        private string buildNumberField;
        
        private string lastBuildNumberField;
        
        private string lastGoodBuildNumberField;
        
        private string buildUriField;
        
        private string buildMachineField;
        
        private string dropLocationField;
        
        private string requestedByField;
        
        /// <remarks/>
        public string TeamFoundationServer {
            get {
                return this.teamFoundationServerField;
            }
            set {
                this.teamFoundationServerField = value;
            }
        }
        
        /// <remarks/>
        public string TeamProject {
            get {
                return this.teamProjectField;
            }
            set {
                this.teamProjectField = value;
            }
        }
        
        /// <remarks/>
        public string BuildType {
            get {
                return this.buildTypeField;
            }
            set {
                this.buildTypeField = value;
            }
        }
        
        /// <remarks/>
        public string BuildDirectory {
            get {
                return this.buildDirectoryField;
            }
            set {
                this.buildDirectoryField = value;
            }
        }
        
        /// <remarks/>
        public string BuildNumber {
            get {
                return this.buildNumberField;
            }
            set {
                this.buildNumberField = value;
            }
        }
        
        /// <remarks/>
        public string LastBuildNumber {
            get {
                return this.lastBuildNumberField;
            }
            set {
                this.lastBuildNumberField = value;
            }
        }
        
        /// <remarks/>
        public string LastGoodBuildNumber {
            get {
                return this.lastGoodBuildNumberField;
            }
            set {
                this.lastGoodBuildNumberField = value;
            }
        }
        
        /// <remarks/>
        public string BuildUri {
            get {
                return this.buildUriField;
            }
            set {
                this.buildUriField = value;
            }
        }
        
        /// <remarks/>
        public string BuildMachine {
            get {
                return this.buildMachineField;
            }
            set {
                this.buildMachineField = value;
            }
        }
        
        /// <remarks/>
        public string DropLocation {
            get {
                return this.dropLocationField;
            }
            set {
                this.dropLocationField = value;
            }
        }
        
        /// <remarks/>
        public string RequestedBy {
            get {
                return this.requestedByField;
            }
            set {
                this.requestedByField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void StartBuildCompletedEventHandler(object sender, StartBuildCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class StartBuildCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal StartBuildCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void RemoveRunCompletedEventHandler(object sender, RemoveRunCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RemoveRunCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RemoveRunCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void DeleteBuildCompletedEventHandler(object sender, DeleteBuildCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeleteBuildCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeleteBuildCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string failureMessage {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void ValidateBuildStartCompletedEventHandler(object sender, ValidateBuildStartCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ValidateBuildStartCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ValidateBuildStartCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void StopBuildCompletedEventHandler(object sender, StopBuildCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class StopBuildCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal StopBuildCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
        
        /// <remarks/>
        public string failureMessage {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void BuildCompletedCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void ReportBuildErrorCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void InsertBuildQualityCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1318")]
    public delegate void RemoveBuildQualityCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
}

#pragma warning restore 1591