Export (0) Print
Expand All

BrowserCapabilitiesFactoryBase Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The BrowserCapabilitiesFactoryBase class is the base class from which BrowserCapabilitiesFactory is derived. It is used internally at run time by the configuration system to create request-specific instances of the HttpCapabilitiesBase class, publicly accessed through the ASP.NET intrinsic Request.Browser property.

System.Object
  System.Web.Configuration.BrowserCapabilitiesFactoryBase
    System.Web.Configuration.BrowserCapabilitiesFactory

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

public class BrowserCapabilitiesFactoryBase

The BrowserCapabilitiesFactoryBase type exposes the following members.

  NameDescription
Public methodBrowserCapabilitiesFactoryBaseUsed internally by the configuration system to create a new instance of this class.
Top

  NameDescription
Protected propertyBrowserElementsUsed internally by the configuration system to represent a collection of information relating to various browser capabilities.
Protected propertyMatchedHeadersUsed internally by the configuration system to represent a collection of request-header values.
Top

  NameDescription
Public methodConfigureBrowserCapabilitiesUsed internally at run time to configure an HttpBrowserCapabilities object.
Public methodConfigureCustomCapabilitiesUsed internally at run time to configure custom hierarchies of browser capabilities.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodIsBrowserUnknownUsed internally by the configuration system to determine whether the browser represented by the specified HttpBrowserCapabilities object does not have an available adapter.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodPopulateBrowserElementsUsed internally by the configuration system to populate a collection of browser capabilities based on the supported browser.
Protected methodPopulateMatchedHeadersUsed internally by the configuration system to populate a collection of request headers based on the supported browser.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

You define browser capabilities in a .browser file. You can use the default hierarchy in the .browser file or create a custom hierarchy to define the browser capabilities.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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