DiagnosticInvoker.RunDiagnosticActionAsync(JsonObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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