Dela via


ProcessDiagnosticInfo.GetAppDiagnosticInfos Method

Definition

Gets one or more AppDiagnosticInfo objects if the IsPackaged property is true.

public:
 virtual IVector<AppDiagnosticInfo ^> ^ GetAppDiagnosticInfos() = GetAppDiagnosticInfos;
IVector<AppDiagnosticInfo> GetAppDiagnosticInfos();
public IList<AppDiagnosticInfo> GetAppDiagnosticInfos();
function getAppDiagnosticInfos()
Public Function GetAppDiagnosticInfos () As IList(Of AppDiagnosticInfo)

Returns

Returns one or more AppDiagnosticInfo objects.

Windows requirements

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

Remarks

Use of this method may require user consent, which defaults to denied. If you do not have consent, the method will return information for only the current app. Users can provide consent in the Settings app. An app can request consent programmatically by calling AppDiagnosticInfo.RequestAccessAsync.

Applies to