Megosztás a következőn keresztül:


AppDiagnosticInfo.CreateResourceGroupWatcher Method

Definition

Creates a ResourceGroupInfoWatcher that monitors the execution state of an app or task, and provides notifications when its state changes.

public:
 virtual AppResourceGroupInfoWatcher ^ CreateResourceGroupWatcher() = CreateResourceGroupWatcher;
AppResourceGroupInfoWatcher CreateResourceGroupWatcher();
public AppResourceGroupInfoWatcher CreateResourceGroupWatcher();
function createResourceGroupWatcher()
Public Function CreateResourceGroupWatcher () As AppResourceGroupInfoWatcher

Returns

A ResourceGroupInfoWatcher that can be used to monitor diagnostic info.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)
App capabilities
appDiagnostics

Applies to