Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gibt den Typ der SOAP-Bindung an, der von der aktuellen SoapBinding verwendet wird.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Syntax
'Declaration
Public Property Style As SoapBindingStyle
'Usage
Dim instance As SoapBinding
Dim value As SoapBindingStyle
value = instance.Style
instance.Style = value
public SoapBindingStyle Style { get; set; }
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)
Eigenschaftenwert
Einer der SoapBindingStyle-Werte. Der Standardwert ist Document.
Beispiel
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = "https://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.Transport = "https://schemas.xmlsoap.org/soap/http";
mySoapBinding.Style = SoapBindingStyle.Document;
// Add the 'SoapBinding' object to the 'Binding' object.
myBinding.Extensions.Add(mySoapBinding);
SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "https://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("https://schemas.xmlsoap.org/soap/http");
mySoapBinding.set_Style(SoapBindingStyle.Document);
// Add the 'SoapBinding' object to the 'Binding' object.
myBinding.get_Extensions().Add(mySoapBinding);
Plattformen
Windows 98, Windows 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
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
Siehe auch
Referenz
SoapBinding-Klasse
SoapBinding-Member
System.Web.Services.Description-Namespace