Szerkesztés

Megosztás a következőn keresztül:


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();
public SoapDocumentServiceAttribute ();
Public Sub New ()

Applies to

SoapDocumentServiceAttribute(SoapBindingUse)

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

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);
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