Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SoapDocumentMethodAttribute::ParameterStyle Property

 

Gets or sets whether parameters are encapsulated within a single XML element beneath the Body element in the XML portion of a SOAP message.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property SoapParameterStyle ParameterStyle {
	SoapParameterStyle get();
	void set(SoapParameterStyle value);
}

Property Value

Type: System.Web.Services.Protocols::SoapParameterStyle

The SoapParameterStyle for SOAP messages sent to and from an XML Web service method. The default value is Wrapped.

The following code example specifies that parameters sent in the SOAP messages sent to and from the PlaceOrder XML Web service method are not encapsulated within one XML element.

.NET Framework
Available since 1.1

SoapParameterStyle
SoapDocumentMethodAttribute Class
System.Web.Services.Protocols Namespace
[<topic://cpconCustomizingSOAPInASPNETWebServicesWebServiceClients>]

Return to top
Show:
© 2017 Microsoft