ConfigurationChangeTokenSource 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.
Creates IChangeTokens so that IOptionsMonitor
generic
public ref class ConfigurationChangeTokenSource : Microsoft::Extensions::Options::IOptionsChangeTokenSource
public class ConfigurationChangeTokenSource : Microsoft.Extensions.Options.IOptionsChangeTokenSource
type ConfigurationChangeTokenSource<'Options> = class
interface IOptionsChangeTokenSource<'Options>
Public Class ConfigurationChangeTokenSource(Of TOptions)
Implements IOptionsChangeTokenSource(Of TOptions)
Type Parameters
- TOptions
- Inheritance
-
ConfigurationChangeTokenSource
- Derived
- Implements
Constructors
| Name | Description |
|---|---|
|
ConfigurationChangeTokenSource |
Constructor taking the IConfiguration instance to watch. |
|
ConfigurationChangeTokenSource |
Constructor taking the IConfiguration instance to watch. |
Properties
| Name | Description |
|---|---|
| Name |
The name of the option instance being changed. |
Methods
| Name | Description |
|---|---|
| GetChangeToken() |
Returns the reloadToken from the IConfiguration. |