DiagnosticInvoker Class
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.
Contains functionality for executing a diagnostics troubleshooting package.
public ref class DiagnosticInvoker sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DiagnosticInvoker final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DiagnosticInvoker
Public NotInheritable Class DiagnosticInvoker
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
App capabilities |
appDiagnostics
|
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1803 | 17134 | RunDiagnosticActionFromStringAsync |
Properties
IsSupported |
Gets a Boolean value indicating if the diagnostics invoker is supported. |
Methods
GetDefault() |
Gets the default diagnostics invoker. |
GetForUser(User) |
Gets the diagnostics invoker for the specified user. |
RunDiagnosticActionAsync(JsonObject) |
Asynchronously runs the diagnostics invoker with the specified diagnostics context. |
RunDiagnosticActionFromStringAsync(String) |
Asynchronously runs the diagnostics invoker with the specified diagnostics context. |