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 Constructor (String^)

 

Initializes a new instance of the WebServiceBindingAttribute class setting the name of the binding the XML Web service method is implementing.

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

public:
WebServiceBindingAttribute(
	String^ name
)

Parameters

name
Type: System::String^

The name of the binding an XML Web service method is implementing an operation for. Sets the Name property.

This constructor is used to specify a name for a binding defined in the XML Web service it is applied to and is a member of the default namespace.

The following example specifies a binding named LocalBinding that is defined in the BindingSample XML Web service.

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