SoapDocumentServiceAttribute Constructors

Definition

Initializes a new instance of the SoapDocumentServiceAttribute class.

Overloads

SoapDocumentServiceAttribute()

Initializes a new instance of the SoapDocumentServiceAttribute class setting all properties to their default values.

SoapDocumentServiceAttribute(SoapBindingUse)

Initializes a new instance of the SoapDocumentServiceAttribute class setting the parameter formatting.

SoapDocumentServiceAttribute(SoapBindingUse, SoapParameterStyle)

Initializes a new instance of the SoapDocumentServiceAttribute class that sets the parameter formatting and sets whether parameters are encapsulated within a single XML element, under the Body element, in SOAP messages.

SoapDocumentServiceAttribute()

Initializes a new instance of the SoapDocumentServiceAttribute class setting all properties to their default values.

public SoapDocumentServiceAttribute ();

Applies to

.NET Framework 4.8.1 og andre versioner
Produkt Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SoapDocumentServiceAttribute(SoapBindingUse)

Initializes a new instance of the SoapDocumentServiceAttribute class setting the parameter formatting.

public SoapDocumentServiceAttribute (System.Web.Services.Description.SoapBindingUse use);

Parameters

use
SoapBindingUse

The parameter formatting of the XML Web service. Sets the Use property.

Applies to

.NET Framework 4.8.1 og andre versioner
Produkt Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

SoapDocumentServiceAttribute(SoapBindingUse, SoapParameterStyle)

Initializes a new instance of the SoapDocumentServiceAttribute class that sets the parameter formatting and sets whether parameters are encapsulated within a single XML element, under the Body element, in SOAP messages.

public SoapDocumentServiceAttribute (System.Web.Services.Description.SoapBindingUse use, System.Web.Services.Protocols.SoapParameterStyle paramStyle);

Parameters

use
SoapBindingUse

The parameter formatting style. Sets the Use property.

paramStyle
SoapParameterStyle

Sets whether parameters are encapsulated within a single XML element, under the Body element, in SOAP messages sent to and from XML Web service methods within the XML Web service. Sets the ParameterStyle property.

Applies to

.NET Framework 4.8.1 og andre versioner
Produkt Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1