DiagnosticInvoker
DiagnosticInvoker
DiagnosticInvoker
DiagnosticInvoker
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Contains functionality for executing a diagnostics troubleshooting package.
public : sealed class DiagnosticInvoker : IDiagnosticInvokerpublic sealed class DiagnosticInvoker : IDiagnosticInvokerPublic NotInheritable Class DiagnosticInvoker Implements IDiagnosticInvoker// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
| Capabilities |
appDiagnostics
|
Properties
IsSupported IsSupported IsSupported IsSupported
Prerelease. Gets a Boolean value indicating if the diagnostics invoker is supported.
public : static PlatForm::Boolean IsSupported { get; }public static bool IsSupported { get; }Public Static ReadOnly Property IsSupported As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
A Boolean value indicating if the diagnostics invoker is supported.
Methods
GetDefault() GetDefault() GetDefault() GetDefault()
Prerelease. Gets the default diagnostics invoker.
public : static DiagnosticInvoker GetDefault()public static DiagnosticInvoker GetDefault()Public Static Function GetDefault() As DiagnosticInvoker// You can use this method in JavaScript.
Returns the default diagnostics invoker.
GetForUser(User) GetForUser(User) GetForUser(User) GetForUser(User)
Prerelease. Gets the diagnostics invoker for the specified user.
public : static DiagnosticInvoker GetForUser(User user)public static DiagnosticInvoker GetForUser(User user)Public Static Function GetForUser(user As User) As DiagnosticInvoker// You can use this method in JavaScript.
Returns the diagnostics invoker for the specified user.
Remarks
This method will always throw E_NOTIMPL, the not implemented exception, by design. The GetForUser method is part of the IDiagnosticInvoker interface definition.
RunDiagnosticActionAsync(JsonObject) RunDiagnosticActionAsync(JsonObject) RunDiagnosticActionAsync(JsonObject) RunDiagnosticActionAsync(JsonObject)
Prerelease. Asynchronously runs the diagnostics invoker with the specified diagnostics context.
public : IAsyncOperationWithProgress<DiagnosticActionResult, DiagnosticActionState> RunDiagnosticActionAsync(JsonObject context)public IAsyncOperationWithProgress<DiagnosticActionResult, DiagnosticActionState> RunDiagnosticActionAsync(JsonObject context)Public Function RunDiagnosticActionAsync(context As JsonObject) As IAsyncOperationWithProgress( Of DiagnosticActionResult, DiagnosticActionState )// You can use this method in JavaScript.
- context
- JsonObject JsonObject JsonObject JsonObject
A Json object containing the context for the diagnostics action.