This documentation is archived and is not being maintained.

IApplicationIdentifier Interface

Defines an identifier for application domains that a cache implementation can use to interact with a host environment.

Namespace:  System.Runtime.Caching.Hosting
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

public interface class IApplicationIdentifier

The IApplicationIdentifier type exposes the following members.

  NameDescription
Public methodGetApplicationIdGets an identifier for an application domain.
Top

A .NET Framework host environment such as ASP.NET can use the IApplicationIdentifier interface to define strings that identify individual application domains. The host environment implements the IApplicationIdentifier interface. This interface is then available to ObjectCache implementations through the Host property.

A cache implementation uses this reference to obtain an identifier for the application domain. In ASP.NET, cache implementations use the application identifier to construct identifiers for cache performance counters. This provides names for performance counter instances that can be distinguished between application domains when multiple application domains are running.

.NET Framework

Supported in: 4

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: