Caching Application Block WMI Events

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

The Caching Application Block is instrumented with the following Windows Management Instrumentation (WMI) events:

  • CacheFailureEvent
  • CacheCallbackFailureEvent
  • CacheScavengedEvent
  • CacheConfigurationFailureEvent

The following tables describe each WMI event's properties.

Table 1 describes the properties of the CacheFailureEvent WMI event.

Table 1: CacheFailureEvent Properties

WMI Property

Description

ErrorMessage

The error message that describes the failed caching activity.

ExceptionMessage

The message for the exception that was raised when the caching activity failed.

InstanceName

The ID of the cache manager that suffered the failure, as specified in the configuration file.

UtcTimeStamp

The time that the caching activity failed.

Table 2 describes the properties of the CacheCallbackFailureEvent WMI event.

Table 2: CacheCallbackFailureEvent Properties

WMI Property

Description

Key

The key of the cache item that expired.

ExceptionMessage

The message for the exception that was raised when the callback that notifies the application that an item expired failed.

InstanceName

The ID of the cache manager that suffered the failure, as specified in the configuration file.

UtcTimeStamp

The time that the callback failed.

Table 3 describes the properties of the CacheScavengedEvent WMI event.

Table 3: CacheScavengedEvent Properties

WMI Property

Description

ItemsScavenged

The number of items scavenged from the cache.

InstanceName

The ID of the cache manager from which items were scavenged, as specified in the configuration file.

UtcTimeStamp

The time that the scavenging event occurred.

This table describes the properties of the CacheConfigurationFailureEvent WMI event.

Table 4: CacheConfigurationFailureEvent Properties

WMI Property

Description

ExceptionMessage

The message for the exception that was raised when the attempt to create or configure a cache manager failed.

InstanceName

The ID of the cache manager that could not be created or configured, as specified in the configuration file.

UtcTimeStamp

The time that the configuration failure occurred.

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.
Show: