Dela via


LoggingOpcode Enum

Definition

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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class LoggingOpcode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum LoggingOpcode
var value = Windows.Foundation.Diagnostics.LoggingOpcode.info
Public Enum LoggingOpcode
Inheritance
LoggingOpcode
Attributes

Windows requirements

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

Fields

Name Value Description
Info 0

An informational event.

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.

Reply 6

A reply event.

Resume 7

An event that represents an activity resuming after being suspended.

Suspend 8

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

Send 9

An event that represents transferring activity to another component.

Remarks

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