Udostępnij za pośrednictwem


SoapBinding.Namespace Pole

Definicja

Pobiera identyfikator URI dla przestrzeni nazw SoapBinding XML klasy. To pole jest stałe.

public: System::String ^ Namespace;
public const string Namespace;
val mutable Namespace : string
Public Const Namespace As String 

Wartość pola

String

Przykłady

SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "http://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.Transport = "http://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);
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = "http://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)

Uwagi

Wartość pola to "http://schemas.xmlsoap.org/wsdl/soap/".

Dotyczy