WebServiceBindingAttribute::Namespace Property

 

Gets or sets the namespace associated with the binding.

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

public:
property String^ Namespace {
	String^ get();
	void set(String^ value);
}

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: