WebServiceBindingAttribute.Location 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 location where the binding is defined.

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

public string Location { get; set; }

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: