WerStoreApi Class

Definition

Managed wrappers around wer APIs added in Windows 10 RS2 that allow access to queued or archived wer reports

public ref class WerStoreApi
public class WerStoreApi
type WerStoreApi = class
Public Class WerStoreApi
Inheritance
WerStoreApi

Constructors

WerStoreApi()

Properties

IsStoreInterfacePresent

Gets a value indicating whether the API is present. Should be present on RS2+. If it is not, opening a store will return null.

Methods

GetStore(WerStoreApi+REPORT_STORE_TYPES)

Opens a wer report store and allows you to enumerate the reports it contains. If called on an earlier operating system where the relevant APIs do not exist, it will return an empty enumerable.

Applies to