WebServiceBindingAttribute.Namespace Property

 
System_CAPS_noteNote

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

Gets or sets the namespace associated with the binding.

Namespace:   System.Web.Services
Assembly:  System.Web.Services (in System.Web.Services.dll)

public string Namespace { get; set; }

Property Value

Type: System.String

The namespace for the binding. The default is http://tempuri.org/.

The following example specifies a binding named LocalBindingNonDefaultNamespace that is a member of the http://www.contoso.com/MyBinding namespace and defined in the BindingSample XML Web service.

.NET Framework
Available since 1.1
Return to top
Show: