WebServiceBindingAttribute Constructor (String^, String^, String^)
.NET Framework (current version)
Initializes a new instance of the WebServiceBindingAttribute class.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- name
-
Type:
System::String^
The name of the binding an XML Web service method is implementing an operation for. Sets the Name property.
- ns
-
Type:
System::String^
The namespace associated with the binding. Sets the Namespace property.
- location
-
Type:
System::String^
The location where the binding is defined.
This constructor is used to specify a name for a binding not defined in the XML Web service it is applied to that and is a member of the supplied namespace.
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
Available since 1.1
Show: