SoapHeaders.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / SoapHeaders.cs / 1305376 / SoapHeaders.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Web.Services.Protocols { 
    using System.Web.Services; 
    using System.Xml.Serialization;
    using System; 
    using System.Reflection;
    using System.Collections;
    using System.IO;
    using System.ComponentModel; 
    using System.Security.Permissions;
 
    ///  
    /// 
    ///    [To be supplied.] 
    /// 
    [PermissionSet(SecurityAction.InheritanceDemand, Name="FullTrust")]
    public class SoapHeaderCollection : CollectionBase {
 
        /// 
        ///  
        ///    [To be supplied.] 
        /// 
        public SoapHeader this[int index] { 
            get { return (SoapHeader)List[index]; }
            set { List[index] = value; }
        }
 
        /// 
        ///  
        ///    [To be supplied.] 
        /// 
        public int Add(SoapHeader header) { 
            return List.Add(header);
        }

        ///  
        /// 
        ///    [To be supplied.] 
        ///  
        public void Insert(int index, SoapHeader header) {
            List.Insert(index, header); 
        }

        /// 
        ///  
        ///    [To be supplied.]
        ///  
        public int IndexOf(SoapHeader header) { 
            return List.IndexOf(header);
        } 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public bool Contains(SoapHeader header) { 
            return List.Contains(header); 
        }
 
        /// 
        /// 
        ///    [To be supplied.]
        ///  
        public void Remove(SoapHeader header) {
            List.Remove(header); 
        } 

        ///  
        /// 
        ///    [To be supplied.]
        /// 
        public void CopyTo(SoapHeader[] array, int index) { 
            List.CopyTo(array, index);
        } 
 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Web.Services.Protocols { 
    using System.Web.Services; 
    using System.Xml.Serialization;
    using System; 
    using System.Reflection;
    using System.Collections;
    using System.IO;
    using System.ComponentModel; 
    using System.Security.Permissions;
 
    ///  
    /// 
    ///    [To be supplied.] 
    /// 
    [PermissionSet(SecurityAction.InheritanceDemand, Name="FullTrust")]
    public class SoapHeaderCollection : CollectionBase {
 
        /// 
        ///  
        ///    [To be supplied.] 
        /// 
        public SoapHeader this[int index] { 
            get { return (SoapHeader)List[index]; }
            set { List[index] = value; }
        }
 
        /// 
        ///  
        ///    [To be supplied.] 
        /// 
        public int Add(SoapHeader header) { 
            return List.Add(header);
        }

        ///  
        /// 
        ///    [To be supplied.] 
        ///  
        public void Insert(int index, SoapHeader header) {
            List.Insert(index, header); 
        }

        /// 
        ///  
        ///    [To be supplied.]
        ///  
        public int IndexOf(SoapHeader header) { 
            return List.IndexOf(header);
        } 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public bool Contains(SoapHeader header) { 
            return List.Contains(header); 
        }
 
        /// 
        /// 
        ///    [To be supplied.]
        ///  
        public void Remove(SoapHeader header) {
            List.Remove(header); 
        } 

        ///  
        /// 
        ///    [To be supplied.]
        /// 
        public void CopyTo(SoapHeader[] array, int index) { 
            List.CopyTo(array, index);
        } 
 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK