SoapBinding.Style Property
.NET Framework 2.0
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)
Assembly: System.Web.Services (in system.web.services.dll)
public: property SoapBindingStyle Style { SoapBindingStyle get (); void set (SoapBindingStyle value); }
/** @property */ public SoapBindingStyle get_Style () /** @property */ public void set_Style (SoapBindingStyle value)
public function get Style () : SoapBindingStyle public function set Style (value : SoapBindingStyle)
Not applicable.
Property Value
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 );
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.set_Transport("http://schemas.xmlsoap.org/soap/http");
mySoapBinding.set_Style(SoapBindingStyle.Document);
// Add the 'SoapBinding' object to the 'Binding' object.
myBinding.get_Extensions().Add(mySoapBinding);
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: