System.Web.Services.Protocols ( class

This attribute can be applied to a web service's class declaration. It specifies that the default encoding for SOAP request and response messages will be Document. The client can override this default by using the SoapRpcMethodAttribute. This attribute is rarely used because the default in ASP.NET proxy classes is already Document encoding.

public sealed class SoapDocumentServiceAttribute : Attribute {
// Public Constructors
   public SoapDocumentServiceAttribute( );
   public SoapDocumentServiceAttribute(System.Web.Services.Description.SoapBindingUse use);
   public SoapDocumentServiceAttribute(System.Web.Services.Description.SoapBindingUse use, 
        SoapParameterStyle paramStyle);
// Public Instance Properties
   public SoapParameterStyle ParameterStyle{set; get; }
   public SoapServiceRoutingStyle RoutingStyle{set; get; }
   public SoapBindingUse Use{set; get; }


System.Object System.Attribute SoapDocumentServiceAttribute

Valid On


    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace