This documentation is archived and is not being maintained.

ServiceDescription.Namespace Field

The XML namespace in which the ServiceDescription class is defined ("http://schemas.xmlsoap.org/wsdl/"). This field is constant.

[Visual Basic]
Public Const Namespace As String
[C#]
public const string Namespace;
[C++]
public: const String* Namespace;
[JScript]
public var Namespace : String;

Example

[Visual Basic] 
Dim myDescription As ServiceDescription = _
   ServiceDescription.Read("MyWsdl_VB.wsdl")
Console.WriteLine("Namespace: " & ServiceDescription.Namespace)

[C#] 
ServiceDescription myDescription = 
   ServiceDescription.Read("MyWsdl_CS.wsdl");
Console.WriteLine("Namespace: " + ServiceDescription.Namespace);

[C++] 
ServiceDescription::Read(S"MyWsdl_CS.wsdl");
Console::WriteLine(S"Namespace : {0}", 
   ServiceDescription::Namespace);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ServiceDescription Class | ServiceDescription Members | System.Web.Services.Description Namespace

Show: