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:
property SoapBindingStyle Style {
	SoapBindingStyle get();
	void set(SoapBindingStyle value);
}

Property Value

Type: System.Web.Services.Description::SoapBindingStyle

One of the SoapBindingStyle values. The default is Document.

SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;

// Add the 'SoapBinding' object to the 'Binding' object.
myBinding->Extensions->Add( mySoapBinding );

.NET Framework
Available since 1.1
Return to top
Show: