This documentation is archived and is not being maintained.

BrowserCapabilitiesFactoryBase::ConfigureCustomCapabilities Method

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

Used internally at run time to configure custom hierarchies of browser capabilities.

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

public:
virtual void ConfigureCustomCapabilities(
	NameValueCollection^ headers, 
	HttpBrowserCapabilities^ browserCaps
)

Parameters

headers
Type: System.Collections.Specialized::NameValueCollection
A collection of request headers.
browserCaps
Type: System.Web::HttpBrowserCapabilities
An object that specifies the capabilities of the browser.

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. The ConfigureCustomCapabilities method processes a custom hierarchy. The custom hierarchy must contain a parentID value in the browser element.

.NET Framework

Supported in: 4, 3.5 SP1, 3.0 SP2, 2.0 SP2

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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