Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft