ConfigurationReloadToken Class
Definition
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.
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. |