Main Page

  Previous Section Next Section


System.Web.Services.Protocols (system.web.services.dll)enum

This enumeration is used when applying a SoapDocumentMethodAttribute or SoapDocumentServiceAttribute. It specifies how web service parameter information is encoded in a SOAP message. If you use Bare, parameter information will be placed in multiple elements under the Body element. If you specify Wrapped, all parameters will be wrapped in a single element beneath the Body element. Default uses the default web service parameter style, which will be Wrapped unless the web service includes a SoapDocumentServiceAttribute in its class declaration that specifies differently.

public enum SoapParameterStyle {
   Default = 0,
   Bare = 1,
   Wrapped = 2


System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) SoapParameterStyle

Returned By

SoapDocumentMethodAttribute.ParameterStyle, SoapDocumentServiceAttribute.ParameterStyle

Passed To

SoapDocumentMethodAttribute.ParameterStyle, SoapDocumentServiceAttribute.{ParameterStyle, SoapDocumentServiceAttribute( )}

      Previous Section Next Section