HttpHandlerAction.Verb Property

 

Gets or sets the verb allowed by the HttpHandlerAction object.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("verb", IsRequired = true, IsKey = true)]
public string Verb { get; set; }

Property Value

Type: System.String

The verb allowed by the object.

This Verb property can be a comma-separated list of HTTP verbs (for example, "GET, PUT, POST").

The following code example shows how to access the Verb property.

// Change the Verb for the HttpHandlerAction.
httpHandler.Verb = "POST";

.NET Framework
Available since 2.0
Return to top
Show: