Share via


GlobalConfiguration Class

Provides a global HttpConfiguration for ASP.NET applications.

Inheritance Hierarchy

System.Object
  System.Web.Http.GlobalConfiguration

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

Syntax

'Declaration
Public NotInheritable Class GlobalConfiguration
'Usage
public static class GlobalConfiguration
public ref class GlobalConfiguration abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type GlobalConfiguration =  class end
public final class GlobalConfiguration

The GlobalConfiguration type exposes the following members.

Properties

  Name Description
Public propertyStatic member Configuration
Public propertyStatic member DefaultHandler Gets the default message handler that will be called for all requests.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http Namespace