ComContractElement.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 contract namespace.

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

[ConfigurationPropertyAttribute("namespace", DefaultValue = "", 
	Options = ConfigurationPropertyOptions.None)]
[StringValidatorAttribute(MinLength = 0)]
public string Namespace { get; set; }

Property Value

Type: System.String

The contract namespace.

.NET Framework
Available since 3.0
Return to top