PowerThermalNotification.SuppressPlatformMitigation 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.
This function is another way to change the suppressed peripheral flags. Use this to set or clear a mask of peripherals to be suppressed. As is with setting the property directly, suppression only takes effect if this process is in the foreground.
public void SuppressPlatformMitigation (Microsoft.MixedReality.PowerThermalNotification.PowerThermalPeripheralFlags flags, bool isSuppressed);
member this.SuppressPlatformMitigation : Microsoft.MixedReality.PowerThermalNotification.PowerThermalPeripheralFlags * bool -> unit
Public Sub SuppressPlatformMitigation (flags As PowerThermalPeripheralFlags, isSuppressed As Boolean)
Parameters
Peripheral mask to use
- isSuppressed
- Boolean
When true, flags are added to the SuppressedPlatformMitigationForPeripherals. When false, flags are cleared from the SuppressedPlatformMitigationForPeripherals.