LoggingOpcode Enum


Specifies an event opcode. Opcodes represent an operation within a component of an application and are used to logically group events.

public enum class LoggingOpcode
enum LoggingOpcode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum LoggingOpcode
var value = Windows.Foundation.Diagnostics.LoggingOpcode.info
Public Enum LoggingOpcode

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)


Info 0

An informational event.

Reply 6

A reply event.

Resume 7

An event that represents an activity resuming after being suspended.

Send 9

An event that represents transferring activity to another component.

Start 1

An event that represents the start of an activity.

Stop 2

An event that represents the end of an activity. The event corresponds to the last unpaired Start event.

Suspend 8

An event that represents the activity being suspended pending another activity's completion.


Providers use tasks and opcodes to logically group events. Grouping events makes it easy to query for only those events that contain specific task and opcode combinations.

Applies to