Del via


ConfigurationReloadToken Class

Definition

Propagates notifications that a configuration change has occurred.

public ref class ConfigurationReloadToken : Microsoft::Extensions::Primitives::IChangeToken
public class ConfigurationReloadToken : Microsoft.Extensions.Primitives.IChangeToken
type ConfigurationReloadToken = class
    interface IChangeToken
Public Class ConfigurationReloadToken
Implements IChangeToken
Inheritance
ConfigurationReloadToken
Implements

Constructors

ConfigurationReloadToken()

Initializes a new instance of ConfigurationReloadToken.

Properties

ActiveChangeCallbacks

Gets a value that indicates whether this token proactively raises callbacks. Callbacks are still guaranteed to be invoked, eventually.

HasChanged

Gets a value that indicates if a change has occurred.

Methods

OnReload()

Triggers the change token when a reload occurs.

RegisterChangeCallback(Action<Object>, Object)

Registers for a callback that will be invoked when the entry has changed. HasChanged MUST be set before the callback is invoked.

Applies to