HttpMethodAttribute Constructors

Definition

Initializes a new instance of the HttpMethodAttribute class.

Overloads

HttpMethodAttribute()

Initializes a new instance of the HttpMethodAttribute class.

HttpMethodAttribute(Type, Type)

Initializes a new instance of the HttpMethodAttribute.

HttpMethodAttribute()

Initializes a new instance of the HttpMethodAttribute class.

C#
public HttpMethodAttribute();

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

HttpMethodAttribute(Type, Type)

Initializes a new instance of the HttpMethodAttribute.

C#
public HttpMethodAttribute(Type returnFormatter, Type parameterFormatter);

Parameters

returnFormatter
Type

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

parameterFormatter
Type

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

Applies to

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1