HttpMethodAttribute Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av HttpMethodAttribute klassen.
Överlagringar
| Name | Description |
|---|---|
| HttpMethodAttribute() |
Initierar en ny instans av HttpMethodAttribute klassen. |
| HttpMethodAttribute(Type, Type) |
Initierar en ny instans av HttpMethodAttribute. |
HttpMethodAttribute()
Initierar en ny instans av HttpMethodAttribute klassen.
public:
HttpMethodAttribute();
public HttpMethodAttribute();
Public Sub New ()
Gäller för
HttpMethodAttribute(Type, Type)
Initierar en ny instans av HttpMethodAttribute.
public:
HttpMethodAttribute(Type ^ returnFormatter, Type ^ parameterFormatter);
public HttpMethodAttribute(Type returnFormatter, Type parameterFormatter);
new System.Web.Services.Protocols.HttpMethodAttribute : Type * Type -> System.Web.Services.Protocols.HttpMethodAttribute
Public Sub New (returnFormatter As Type, parameterFormatter As Type)
Parametrar
- returnFormatter
- Type
Initierar ReturnFormatter egenskapen till en Type som deserialiserar svaret från en XML-webbtjänstmetod.
- parameterFormatter
- Type
Initierar ParameterFormatter egenskapen till en Type som serialiserar parametrar som skickas från en XML-webbtjänstklient till en XML-webbtjänstmetod.