Partager via


GlobalConfiguration.DefaultHandler Property

Gets the default message handler that will be called for all requests.

Namespace:  System.Web.Http
Assembly:  System.Web.Http.WebHost (in System.Web.Http.WebHost.dll)

Syntax

'Declaration
Public Shared ReadOnly Property DefaultHandler As HttpMessageHandler 
    Get
'Usage
Dim value As HttpMessageHandler 

value = GlobalConfiguration.DefaultHandler
public static HttpMessageHandler DefaultHandler { get; }
public:
static property HttpMessageHandler^ DefaultHandler {
    HttpMessageHandler^ get ();
}
static member DefaultHandler : HttpMessageHandler
static function get DefaultHandler () : HttpMessageHandler

Property Value

Type: HttpMessageHandler

See Also

Reference

GlobalConfiguration Class

System.Web.Http Namespace