SoapBinding.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Discovery / SoapBinding.cs / 1305376 / SoapBinding.cs

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

namespace System.Web.Services.Discovery { 
 
    using System;
    using System.Xml; 
    using System.Xml.Serialization;
    using System.Diagnostics;

    ///  
    /// 
    ///    [To be supplied.] 
    ///  
    [XmlRoot("soap", Namespace=SoapBinding.Namespace)]
    public sealed class SoapBinding { 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public const string Namespace = "http://schemas.xmlsoap.org/disco/soap/"; 
 
        private XmlQualifiedName binding;
        private string address = ""; 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        [XmlAttribute("address")] 
        public string Address { 
            get { return address; }
            set { 
                if (value == null)
                    address = "";
                else
                    address = value; 
            }
        } 
 
        /// 
        ///  
        ///    [To be supplied.]
        /// 
        [XmlAttribute("binding")]
        public XmlQualifiedName Binding { 
            get { return binding; }
            set { binding = value; } 
        } 

    } 

}

// 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