UniqueId Property
Collapse the table of content
Expand the table of content

ChangeMonitor.UniqueId Property

Gets a value that represents the ChangeMonitor class instance.

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

public abstract string UniqueId { get; }

Property Value

Type: System.String
The identifier for a change-monitor instance.

The UniqueId property value typically consists of dependency names combined string data that uniquely identifiers the data that is being monitored by a ChangeMonitor instance. The value of the UniqueId property is a string. The value of the string is used to assign the unique ID of the ChangeMonitor instance.

Notes to Implementers

By overriding the property, you can define a custom implementation for the string value of the property in order to assign it a unique ID.

Notes to Inheritors

In derived classes, you must set the value of the property in the constructor.

.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.

Community Additions

© 2016 Microsoft