Freigeben über


SoapBinding.Namespace-Feld

Ruft den URI für den XML-Namespace der SoapBinding-Klasse ab. Dieses Feld ist konstant.

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

Syntax

'Declaration
Public Const Namespace As String
'Usage
Dim value As String

value = SoapBinding.Namespace
public const string Namespace
public:
literal String^ Namespace
public static final String Namespace
public const var Namespace : String

Hinweise

Der Feldwert ist "https://schemas.xmlsoap.org/wsdl/soap/".

Beispiel

Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = "https://schemas.xmlsoap.org/soap/http"
mySoapBinding.Style = SoapBindingStyle.Document
' Get the URI for XML namespace of the SoapBinding class.
Dim myNameSpace As String = SoapBinding.Namespace
Console.WriteLine("The URI of the XML Namespace is :" + myNameSpace)
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "https://schemas.xmlsoap.org/soap/http";
mySoapBinding.Style = SoapBindingStyle.Document;
// Get the URI for XML namespace of the SoapBinding class.
String myNameSpace = SoapBinding.Namespace;
Console.WriteLine("The URI of the XML Namespace is :"+myNameSpace);
SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "https://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;
// Get the URI for XML namespace of the SoapBinding class.
String^ myNameSpace = SoapBinding::Namespace;
Console::WriteLine( "The URI of the XML Namespace is :{0}", myNameSpace );
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.set_Transport("https://schemas.xmlsoap.org/soap/http");
mySoapBinding.set_Style(SoapBindingStyle.Document);
// Get the URI for XML namespace of the SoapBinding class.
String myNameSpace = SoapBinding.Namespace;
Console.WriteLine("The URI of the XML Namespace is :" + myNameSpace);

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