DiagnosticInvoker.RunDiagnosticActionAsync(JsonObject) Method

Definition

Asynchronously runs the diagnostics invoker with the specified diagnostics context.

public:
 virtual IAsyncOperationWithProgress<DiagnosticActionResult ^, DiagnosticActionState> ^ RunDiagnosticActionAsync(JsonObject ^ context) = RunDiagnosticActionAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DiagnosticActionResult, DiagnosticActionState> RunDiagnosticActionAsync(JsonObject const& context);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DiagnosticActionResult,DiagnosticActionState> RunDiagnosticActionAsync(JsonObject context);
function runDiagnosticActionAsync(context)
Public Function RunDiagnosticActionAsync (context As JsonObject) As IAsyncOperationWithProgress(Of DiagnosticActionResult, DiagnosticActionState)

Parameters

context
JsonObject

A Json object containing the context for the diagnostics action.

Returns

Returns an async operation object that indicates when the action has completed. A DiagnosticActionState enum value is in the result.

Attributes

Applies to