ChangeMonitor.UniqueId Property

Definition

Gets a value that represents the ChangeMonitor class instance.

C#
public abstract string UniqueId { get; }

Property Value

The identifier for a change-monitor instance.

Remarks

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.

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

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)