ServiceDescription.Namespace Property

 

Gets or sets the namespace for the service.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Public Property Namespace As String

Property Value

Type: System.String

The namespace for the service.

When exporting WSDL metadata, the Namespacemaps to the Web Service Development Language (WSDL) <service> element namespace name part of the (qualified) name attribute.

         Dim namespc = svcDesc.Namespace
Console.WriteLine("Service Description namespace: {0}", namespc)

.NET Framework
Available since 3.0
Return to top
Show: