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: