SoapDocumentServiceAttribute.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 / Protocols / SoapDocumentServiceAttribute.cs / 1305376 / SoapDocumentServiceAttribute.cs

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

namespace System.Web.Services.Protocols { 
 
    using System;
    using System.Web.Services.Description; 
    using System.Reflection;
    using System.Xml.Serialization;

    ///  
    /// 
    ///    [To be supplied.] 
    ///  
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class SoapDocumentServiceAttribute : Attribute { 
        SoapBindingUse use = SoapBindingUse.Default;
        SoapParameterStyle paramStyle = SoapParameterStyle.Default;
        SoapServiceRoutingStyle routingStyle = SoapServiceRoutingStyle.SoapAction;
 
        /// 
        ///  
        ///    [To be supplied.] 
        /// 
        public SoapDocumentServiceAttribute() { 
        }

        /// 
        ///  
        ///    [To be supplied.]
        ///  
        public SoapDocumentServiceAttribute(SoapBindingUse use) { 
            this.use = use;
        } 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public SoapDocumentServiceAttribute(SoapBindingUse use, SoapParameterStyle paramStyle) { 
            this.use = use; 
            this.paramStyle = paramStyle;
        } 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public SoapBindingUse Use { 
            get { return use; } 
            set { use = value; }
        } 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public SoapParameterStyle ParameterStyle { 
            get { return paramStyle; } 
            set { paramStyle = value; }
        } 

        /// 
        public SoapServiceRoutingStyle RoutingStyle {
            get { return routingStyle; } 
            set { routingStyle = 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