Table of Contents

Class HttpPostAttribute

Namespace
System.Web.Http
Assembly
System.Web.Http.dll

No content here will be updated; please do not add material here.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpPostAttribute : Attribute
Inheritance
HttpPostAttribute
Inherited Members

Constructors

HttpPostAttribute()

Initializes a new instance of the HttpPostAttribute class.

public HttpPostAttribute()

Properties

HttpMethods

Gets a collection of HTTP methods.

public Collection<HttpMethod> HttpMethods { get; }

Property Value

Collection<HttpMethod>

A collection of HTTP methods.