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.

HttpMethodAttribute Constructor (Type^, Type^)

 

Initializes a new instance of the HttpMethodAttribute.

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

public:
HttpMethodAttribute(
	Type^ returnFormatter,
	Type^ parameterFormatter
)

Parameters

returnFormatter
Type: System::Type^

Initializes the ReturnFormatter property to a Type that deserializes the response from an XML Web service method.

parameterFormatter
Type: System::Type^

Initializes the ParameterFormatter property to a Type that serializes parameters sent from an XML Web service client to an XML Web service method.

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