AppDiagnosticInfo.RequestAccessAsync AppDiagnosticInfo.RequestAccessAsync AppDiagnosticInfo.RequestAccessAsync AppDiagnosticInfo.RequestAccessAsync AppDiagnosticInfo.RequestAccessAsync Method

Definition

Asynchronously requests access to diagnostic information.

public : static IAsyncOperation<DiagnosticAccessStatus> RequestAccessAsync()
static IAsyncOperation<DiagnosticAccessStatus> RequestAccessAsync() const;
public static IAsyncOperation<DiagnosticAccessStatus> RequestAccessAsync()
Public Shared Function RequestAccessAsync() As IAsyncOperation(Of DiagnosticAccessStatus)
Windows.System.AppDiagnosticInfo.requestAccessAsync().done( /* Your success and error handlers */ );

Returns

Returns an async operation with a **DiagnosticAccessStatus** value indicating the level of diagnostic info available to this app.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)
Capabilities
appDiagnostics