Share via


AppDiagnosticInfo.CreateWatcher Method

Definition

Creates an AppDiagnosticInfoWatcher that monitors information about the execution state of an app, and provides notifications when its state changes.

public:
 static AppDiagnosticInfoWatcher ^ CreateWatcher();
 static AppDiagnosticInfoWatcher CreateWatcher();
public static AppDiagnosticInfoWatcher CreateWatcher();
function createWatcher()
Public Shared Function CreateWatcher () As AppDiagnosticInfoWatcher

Returns

An AppDiagnosticInfoWatcher 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