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: