แก้ไข

แชร์ผ่าน


SoapBodyBinding.Use Property

Definition

Indicates whether the message parts are encoded using specified encoding rules, or define the concrete schema of the message.

public:
 property System::Web::Services::Description::SoapBindingUse Use { System::Web::Services::Description::SoapBindingUse get(); void set(System::Web::Services::Description::SoapBindingUse value); };
public System.Web.Services.Description.SoapBindingUse Use { get; set; }
member this.Use : System.Web.Services.Description.SoapBindingUse with get, set
Public Property Use As SoapBindingUse

Property Value

One of the SoapBindingUse values. The default is Default.

Examples

SoapBinding_SoapOperationBinding#9

Remarks

The Namespace and Encoding properties depend on the value of this property. Their values should be set only if the value of this property is Encoded. Otherwise the XML Web service will produce unexpected behavior.

Applies to