IApplicationIdentifier Interface

.NET Framework (current version)

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 IApplicationIdentifier


Gets an identifier for an application domain.

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
Available since 4.0
Return to top