Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PowerThermalNotification.SuppressPlatformMitigation Method

Definition

Namespace:
Microsoft.MixedReality.PowerThermalNotification
Assembly:
PowerThermalNotification.Projections.dll
Package:
Microsoft.MixedReality.PowerThermalNotification v0.2.0

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

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