Share via


PowerThermalNotification.SuppressPlatformMitigation Method

Definition

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

flags
PowerThermalPeripheralFlags

Peripheral mask to use

isSuppressed
Boolean

When true, flags are added to the SuppressedPlatformMitigationForPeripherals. When false, flags are cleared from the SuppressedPlatformMitigationForPeripherals.

Applies to