ServiceBehaviorAttribute.Namespace Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the value of the target namespace for the service in Web Services Description Language (WSDL).

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

public string Namespace { get; set; }

Property Value

Type: System.String

The value of the targetNamespace attribute for the <wsdl:definitions> element that contains the <wsdl:service> element.

.NET Framework
Available since 3.0
Return to top