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::Location Property

 

Gets or sets the location where the binding is defined.

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

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

Property Value

Type: System::String^

The location where the binding is defined. The default is the URL of the XML Web service to which the attribute is applied.

The following example specifies a binding named RemoteBinding that is a member of the http://www.contoso.com/MyBinding namespace and defined at http://www.contoso.com/MyService.asmx?wsdl.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft