SoapBinding.Style Property


Specifies the type of SOAP binding used by the current SoapBinding.

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

public SoapBindingStyle Style { get; set; }

Property Value

Type: System.Web.Services.Description.SoapBindingStyle

One of the SoapBindingStyle values. The default is Document.

SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "";
mySoapBinding.Style = SoapBindingStyle.Document;
// Add the 'SoapBinding' object to the 'Binding' object.

.NET Framework
Available since 1.1
Return to top