Editare

Partajați prin


HttpCapabilitiesDefaultProvider Class

Definition

The default extension of the HttpCapabilitiesProvider class that is included with ASP.NET.

public ref class HttpCapabilitiesDefaultProvider : System::Web::Configuration::HttpCapabilitiesProvider
public class HttpCapabilitiesDefaultProvider : System.Web.Configuration.HttpCapabilitiesProvider
type HttpCapabilitiesDefaultProvider = class
    inherit HttpCapabilitiesProvider
Public Class HttpCapabilitiesDefaultProvider
Inherits HttpCapabilitiesProvider
Inheritance
HttpCapabilitiesDefaultProvider

Constructors

HttpCapabilitiesDefaultProvider()

Initializes a new instance of the HttpCapabilitiesDefaultProvider class.

HttpCapabilitiesDefaultProvider(HttpCapabilitiesDefaultProvider)

Initializes a new instance of the HttpCapabilitiesDefaultProvider class with the values of the specified instance.

Properties

CacheTime

Gets or sets the length of time in seconds to retain the HttpBrowserCapabilities object in the cache.

ResultType

Gets or sets the type of the class that is used to hold the results from parsing the browserCap element of the Web.config file.

UserAgentCacheKeyLength

Gets or sets the number of characters from the user agent string to use for caching of the HttpBrowserCapabilities object.

Methods

AddDependency(String)

Adds an HTTP request string to use to parse browser capability information.

AddRuleList(ArrayList)

Adds a search string that modifies a browser definition.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBrowserCapabilities(HttpRequest)

Gets the HttpBrowserCapabilities object for the specified HttpRequest object.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to