www.gibmonks.com

Main Page

  Previous Section Next Section

SoapDocumentServiceAttribute

System.Web.Services.Protocols (system.web.services.dll)sealed 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; }
}

Hierarchy

System.Object System.Attribute SoapDocumentServiceAttribute

Valid On

Class

      Previous Section Next Section