Partager via


HttpPropertyKeys Class

Provides common keys for properties stored in the Properties().

Inheritance Hierarchy

System.Object
  System.Web.Http.Hosting.HttpPropertyKeys

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

Syntax

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

The HttpPropertyKeys type exposes the following members.

Fields

  Name Description
Public fieldStatic member ClientCertificateKey Provides a key for the client certificate for this request.
Public fieldStatic member DependencyScope Provides a key for the IDependencyScope associated with this request.
Public fieldStatic member DisposableRequestResourcesKey Provides a key for the collection of resources that should be disposed when a request is disposed.
Public fieldStatic member HttpConfigurationKey Provides a key for the HttpConfiguration associated with this request.
Public fieldStatic member HttpRouteDataKey Provides a key for the IHttpRouteData associated with this request.
Public fieldStatic member IncludeErrorDetailKey Provides a key that indicates whether error details are to be included in the response for this HTTP request.
Public fieldStatic member IsLocalKey Provides a key that indicates whether the request originates from a local address.
Public fieldStatic member RequestCorrelationKey Provides a key for the Guid stored in Properties(). This is the correlation ID for that request.
Public fieldStatic member RequestQueryNameValuePairsKey Provides a key for the parsed query string stored in Properties().
Public fieldStatic member RetrieveClientCertificateDelegateKey Provides a key for a delegate which can retrieve the client certificate for this request.
Public fieldStatic member SynchronizationContextKey Provides a key for the current SynchronizationContext stored in Properties(). If Current() is null then no context is stored.

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.Hosting Namespace