//------------------------------------------------------------------------------
// <auto-generated>
//     Ce code a été généré par un outil.
//     Version du runtime :4.0.30319.42000
//
//     Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
//     le code est régénéré.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// Ce code source a été automatiquement généré par Microsoft.VSDesigner, Version 4.0.30319.42000.
// 
#pragma warning disable 1591

namespace CD67.FicheCollege.Entity.WsTiers {
    using System;
    using System.Web.Services;
    using System.Diagnostics;
    using System.Web.Services.Protocols;
    using System.Xml.Serialization;
    using System.ComponentModel;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="WsTiersSoap", Namespace="http://tempuri.org/")]
    public partial class WsTiers : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback GetByIdOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetByIdsOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetByOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetAllOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetAllSortedOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetManyByOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetManyBySortedOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public WsTiers() {
            this.Url = global::CD67.FicheCollege.Entity.Properties.Settings.Default.CD67_FicheCollege_Entity_WsTiers_WsTiers;
            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 GetByIdCompletedEventHandler GetByIdCompleted;
        
        /// <remarks/>
        public event GetByIdsCompletedEventHandler GetByIdsCompleted;
        
        /// <remarks/>
        public event GetByCompletedEventHandler GetByCompleted;
        
        /// <remarks/>
        public event GetAllCompletedEventHandler GetAllCompleted;
        
        /// <remarks/>
        public event GetAllSortedCompletedEventHandler GetAllSortedCompleted;
        
        /// <remarks/>
        public event GetManyByCompletedEventHandler GetManyByCompleted;
        
        /// <remarks/>
        public event GetManyBySortedCompletedEventHandler GetManyBySortedCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetById", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Tiers GetById(string Key) {
            object[] results = this.Invoke("GetById", new object[] {
                        Key});
            return ((Tiers)(results[0]));
        }
        
        /// <remarks/>
        public void GetByIdAsync(string Key) {
            this.GetByIdAsync(Key, null);
        }
        
        /// <remarks/>
        public void GetByIdAsync(string Key, object userState) {
            if ((this.GetByIdOperationCompleted == null)) {
                this.GetByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetByIdOperationCompleted);
            }
            this.InvokeAsync("GetById", new object[] {
                        Key}, this.GetByIdOperationCompleted, userState);
        }
        
        private void OnGetByIdOperationCompleted(object arg) {
            if ((this.GetByIdCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetByIdCompleted(this, new GetByIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetByIds", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Tiers[] GetByIds(string[] Keys) {
            object[] results = this.Invoke("GetByIds", new object[] {
                        Keys});
            return ((Tiers[])(results[0]));
        }
        
        /// <remarks/>
        public void GetByIdsAsync(string[] Keys) {
            this.GetByIdsAsync(Keys, null);
        }
        
        /// <remarks/>
        public void GetByIdsAsync(string[] Keys, object userState) {
            if ((this.GetByIdsOperationCompleted == null)) {
                this.GetByIdsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetByIdsOperationCompleted);
            }
            this.InvokeAsync("GetByIds", new object[] {
                        Keys}, this.GetByIdsOperationCompleted, userState);
        }
        
        private void OnGetByIdsOperationCompleted(object arg) {
            if ((this.GetByIdsCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetByIdsCompleted(this, new GetByIdsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetBy", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Tiers GetBy(string FilterExpression) {
            object[] results = this.Invoke("GetBy", new object[] {
                        FilterExpression});
            return ((Tiers)(results[0]));
        }
        
        /// <remarks/>
        public void GetByAsync(string FilterExpression) {
            this.GetByAsync(FilterExpression, null);
        }
        
        /// <remarks/>
        public void GetByAsync(string FilterExpression, object userState) {
            if ((this.GetByOperationCompleted == null)) {
                this.GetByOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetByOperationCompleted);
            }
            this.InvokeAsync("GetBy", new object[] {
                        FilterExpression}, this.GetByOperationCompleted, userState);
        }
        
        private void OnGetByOperationCompleted(object arg) {
            if ((this.GetByCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetByCompleted(this, new GetByCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetAll", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Tiers[] GetAll() {
            object[] results = this.Invoke("GetAll", new object[0]);
            return ((Tiers[])(results[0]));
        }
        
        /// <remarks/>
        public void GetAllAsync() {
            this.GetAllAsync(null);
        }
        
        /// <remarks/>
        public void GetAllAsync(object userState) {
            if ((this.GetAllOperationCompleted == null)) {
                this.GetAllOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllOperationCompleted);
            }
            this.InvokeAsync("GetAll", new object[0], this.GetAllOperationCompleted, userState);
        }
        
        private void OnGetAllOperationCompleted(object arg) {
            if ((this.GetAllCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetAllCompleted(this, new GetAllCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetAllSorted", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Tiers[] GetAllSorted(string SortField, bool SortAscendant) {
            object[] results = this.Invoke("GetAllSorted", new object[] {
                        SortField,
                        SortAscendant});
            return ((Tiers[])(results[0]));
        }
        
        /// <remarks/>
        public void GetAllSortedAsync(string SortField, bool SortAscendant) {
            this.GetAllSortedAsync(SortField, SortAscendant, null);
        }
        
        /// <remarks/>
        public void GetAllSortedAsync(string SortField, bool SortAscendant, object userState) {
            if ((this.GetAllSortedOperationCompleted == null)) {
                this.GetAllSortedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAllSortedOperationCompleted);
            }
            this.InvokeAsync("GetAllSorted", new object[] {
                        SortField,
                        SortAscendant}, this.GetAllSortedOperationCompleted, userState);
        }
        
        private void OnGetAllSortedOperationCompleted(object arg) {
            if ((this.GetAllSortedCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetAllSortedCompleted(this, new GetAllSortedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetManyBy", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Tiers[] GetManyBy(string FilterExpression) {
            object[] results = this.Invoke("GetManyBy", new object[] {
                        FilterExpression});
            return ((Tiers[])(results[0]));
        }
        
        /// <remarks/>
        public void GetManyByAsync(string FilterExpression) {
            this.GetManyByAsync(FilterExpression, null);
        }
        
        /// <remarks/>
        public void GetManyByAsync(string FilterExpression, object userState) {
            if ((this.GetManyByOperationCompleted == null)) {
                this.GetManyByOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetManyByOperationCompleted);
            }
            this.InvokeAsync("GetManyBy", new object[] {
                        FilterExpression}, this.GetManyByOperationCompleted, userState);
        }
        
        private void OnGetManyByOperationCompleted(object arg) {
            if ((this.GetManyByCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetManyByCompleted(this, new GetManyByCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetManyBySorted", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public Tiers[] GetManyBySorted(string FilterExpression, string SortField, bool SortAscendant) {
            object[] results = this.Invoke("GetManyBySorted", new object[] {
                        FilterExpression,
                        SortField,
                        SortAscendant});
            return ((Tiers[])(results[0]));
        }
        
        /// <remarks/>
        public void GetManyBySortedAsync(string FilterExpression, string SortField, bool SortAscendant) {
            this.GetManyBySortedAsync(FilterExpression, SortField, SortAscendant, null);
        }
        
        /// <remarks/>
        public void GetManyBySortedAsync(string FilterExpression, string SortField, bool SortAscendant, object userState) {
            if ((this.GetManyBySortedOperationCompleted == null)) {
                this.GetManyBySortedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetManyBySortedOperationCompleted);
            }
            this.InvokeAsync("GetManyBySorted", new object[] {
                        FilterExpression,
                        SortField,
                        SortAscendant}, this.GetManyBySortedOperationCompleted, userState);
        }
        
        private void OnGetManyBySortedOperationCompleted(object arg) {
            if ((this.GetManyBySortedCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetManyBySortedCompleted(this, new GetManyBySortedCompletedEventArgs(invokeArgs.Results, 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", "4.6.1590.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class Tiers {
        
        private int idField;
        
        private string codeTiersField;
        
        private string codeOrganisationField;
        
        private string codeFamilleField;
        
        private string familleField;
        
        private string codeNatureJuridiqueField;
        
        private string natureJuridiqueField;
        
        private string codeCategorieField;
        
        private string sigleField;
        
        private string nomField;
        
        private string raisonSociale1Field;
        
        private string raisonSociale2Field;
        
        /// <remarks/>
        public int Id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        public string CodeTiers {
            get {
                return this.codeTiersField;
            }
            set {
                this.codeTiersField = value;
            }
        }
        
        /// <remarks/>
        public string CodeOrganisation {
            get {
                return this.codeOrganisationField;
            }
            set {
                this.codeOrganisationField = value;
            }
        }
        
        /// <remarks/>
        public string CodeFamille {
            get {
                return this.codeFamilleField;
            }
            set {
                this.codeFamilleField = value;
            }
        }
        
        /// <remarks/>
        public string Famille {
            get {
                return this.familleField;
            }
            set {
                this.familleField = value;
            }
        }
        
        /// <remarks/>
        public string CodeNatureJuridique {
            get {
                return this.codeNatureJuridiqueField;
            }
            set {
                this.codeNatureJuridiqueField = value;
            }
        }
        
        /// <remarks/>
        public string NatureJuridique {
            get {
                return this.natureJuridiqueField;
            }
            set {
                this.natureJuridiqueField = value;
            }
        }
        
        /// <remarks/>
        public string CodeCategorie {
            get {
                return this.codeCategorieField;
            }
            set {
                this.codeCategorieField = value;
            }
        }
        
        /// <remarks/>
        public string Sigle {
            get {
                return this.sigleField;
            }
            set {
                this.sigleField = value;
            }
        }
        
        /// <remarks/>
        public string Nom {
            get {
                return this.nomField;
            }
            set {
                this.nomField = value;
            }
        }
        
        /// <remarks/>
        public string RaisonSociale1 {
            get {
                return this.raisonSociale1Field;
            }
            set {
                this.raisonSociale1Field = value;
            }
        }
        
        /// <remarks/>
        public string RaisonSociale2 {
            get {
                return this.raisonSociale2Field;
            }
            set {
                this.raisonSociale2Field = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    public delegate void GetByIdCompletedEventHandler(object sender, GetByIdCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Tiers Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Tiers)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    public delegate void GetByIdsCompletedEventHandler(object sender, GetByIdsCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetByIdsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetByIdsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Tiers[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Tiers[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    public delegate void GetByCompletedEventHandler(object sender, GetByCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetByCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetByCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Tiers Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Tiers)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    public delegate void GetAllCompletedEventHandler(object sender, GetAllCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetAllCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetAllCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Tiers[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Tiers[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    public delegate void GetAllSortedCompletedEventHandler(object sender, GetAllSortedCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetAllSortedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetAllSortedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Tiers[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Tiers[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    public delegate void GetManyByCompletedEventHandler(object sender, GetManyByCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetManyByCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetManyByCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Tiers[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Tiers[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    public delegate void GetManyBySortedCompletedEventHandler(object sender, GetManyBySortedCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetManyBySortedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetManyBySortedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public Tiers[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((Tiers[])(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591