SoapDocumentServiceAttribute Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SoapDocumentServiceAttribute class.
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 |
Initializes a new instance of the SoapDocumentServiceAttribute class setting all properties to their default values.
public:
SoapDocumentServiceAttribute();
public SoapDocumentServiceAttribute ();
Public Sub New ()
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 |
Initializes a new instance of the SoapDocumentServiceAttribute class setting the parameter formatting.
public:
SoapDocumentServiceAttribute(System::Web::Services::Description::SoapBindingUse use);
public SoapDocumentServiceAttribute (System.Web.Services.Description.SoapBindingUse use);
new System.Web.Services.Protocols.SoapDocumentServiceAttribute : System.Web.Services.Description.SoapBindingUse -> System.Web.Services.Protocols.SoapDocumentServiceAttribute
Public Sub New (use As SoapBindingUse)
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 |
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);
public SoapDocumentServiceAttribute (System.Web.Services.Description.SoapBindingUse use, System.Web.Services.Protocols.SoapParameterStyle paramStyle);
new System.Web.Services.Protocols.SoapDocumentServiceAttribute : System.Web.Services.Description.SoapBindingUse * System.Web.Services.Protocols.SoapParameterStyle -> System.Web.Services.Protocols.SoapDocumentServiceAttribute
Public Sub New (use As SoapBindingUse, paramStyle As SoapParameterStyle)
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 |
.NET feedback
.NET er et åben kildekode projekt. Vælg et link for at give feedback: