ISettingsChangeSuppressor.SuppressChangesToSettingsNewerThan(String) Method
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.
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.
public IDisposable SuppressChangesToSettingsNewerThan (string version);
abstract member SuppressChangesToSettingsNewerThan : string -> IDisposable
Public Function SuppressChangesToSettingsNewerThan (version As String) As IDisposable
Parameters
- version
- String
Returns
Remarks
This method is safe to access from any thread.