PlatformDiagnosticsAndUsageDataSettings 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.
Provides access to settings for collecting diagnostic data and an event to subscribe to changes to the platform diagnostics and usage data collection level settings.
public ref class PlatformDiagnosticsAndUsageDataSettings abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PlatformDiagnosticsAndUsageDataSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class PlatformDiagnosticsAndUsageDataSettings
Public Class PlatformDiagnosticsAndUsageDataSettings
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Remarks
This is a static class.
Properties
CollectionLevel |
Gets the current data collection level. |
Methods
CanCollectDiagnostics(PlatformDataCollectionLevel) |
Returns a Boolean value indicating if the requested data collection level can be enabled. |
Events
CollectionLevelChanged |
Occurs when the data collection level has changed. |