Freigeben über


ISettingsChangeSuppressor.SuppressChangesToSettingsNewerThan(String) Method

Definition

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.

Applies to