This topic has not yet been rated - Rate this topic

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.5.1, 4.5, 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.