Editar

Partilhar via


ServiceDescription.Namespace Property

Definition

Gets or sets the namespace for the service.

public:
 property System::String ^ Namespace { System::String ^ get(); void set(System::String ^ value); };
public string Namespace { get; set; }
member this.Namespace : string with get, set
Public Property Namespace As String

Property Value

The namespace for the service.

Examples

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

Remarks

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

Applies to