ISettingsChangeSuppressor Interface
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.
Allows temporary blocking of changes to settings that have been modified since a certain version.
public interface ISettingsChangeSuppressor
type ISettingsChangeSuppressor = interface
Public Interface ISettingsChangeSuppressor
Remarks
This method is safe to access from any thread.
Properties
CurrentSettingsVersion |
Gets a string which can later be passed in to SuppressChangesToSettingsNewerThan to block changes to settings modified since the time this method was called. |
Methods
CanChange(String) |
Indicates whether the specified setting is allowed to change based on active suppressions. |
SuppressChangesToSettingsNewerThan(String) |
Blocks changes to settings modified since a given previous version. Any such changes will be silently ignored. The suppression will continue until the return value is disposed. Only changes within the same "cone" of execution will be affected; if someone else tries to change an affected setting in a separate but concurrent async flow, that change will be allowed. |