Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IChangeToken.ActiveChangeCallbacks Property

Definition

Namespace:
Microsoft.Extensions.Primitives
Assembly:
Microsoft.Extensions.Primitives.dll
Package:
Microsoft.Extensions.Primitives v11.0.0-preview.5.26302.115
Source:
IChangeToken.cs
Source:
IChangeToken.cs
Source:
IChangeToken.cs
Source:
IChangeToken.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets a value that indicates whether this token will proactively raise callbacks. If false, the token consumer must poll HasChanged to detect changes.

public:
 property bool ActiveChangeCallbacks { bool get(); };
public bool ActiveChangeCallbacks { get; }
member this.ActiveChangeCallbacks : bool
Public ReadOnly Property ActiveChangeCallbacks As Boolean

Property Value

true if the token will proactively raise callbacks; false otherwise.

Remarks

A true value does not guarantee that callbacks will be raised for all changes. Consumers should also check HasChanged when complete accuracy is required.

Applies to


Feedback

Was this page helpful?