Rediger

Del via


IApplicationIdentifier Interface

Definition

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

public interface class IApplicationIdentifier
public interface IApplicationIdentifier
type IApplicationIdentifier = interface
Public Interface IApplicationIdentifier

Remarks

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.

Methods

GetApplicationId()

Gets an identifier for an application domain.

Applies to