AppDiagnosticInfo.CreateWatcher Method

Definition

Creates an @"Windows.System.AppDiagnosticInfoWatcher?text=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

AppDiagnosticInfoWatcher

An @"Windows.System.AppDiagnosticInfoWatcher?text=AppDiagnosticInfoWatcher" that can be used to monitor diagnostic info.

Windows 10 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