PlatformDiagnosticActions.IsScenarioEnabled(Guid) Method

Definition

Whether a scenario profile has been downloaded to the device.

public:
 static bool IsScenarioEnabled(Platform::Guid scenarioId);
 static bool IsScenarioEnabled(winrt::guid const& scenarioId);
public static bool IsScenarioEnabled(Guid scenarioId);
function isScenarioEnabled(scenarioId)
Public Shared Function IsScenarioEnabled (scenarioId As Guid) As Boolean

Parameters

scenarioId
Guid

Platform::Guid

winrt::guid

The scenario identifier.

Returns

Boolean

bool

True if the scenario is available; false otherwise.

Applies to