StandardEventOpcode 枚举

定义

定义事件提供程序将其附加到事件的标准操作码。 有关操作码的更多信息,请参见 EventOpcodeFor more information about opcodes, see EventOpcode.

public enum class StandardEventOpcode
public enum StandardEventOpcode
type StandardEventOpcode = 
Public Enum StandardEventOpcode
继承
StandardEventOpcode

字段

DataCollectionStart 3

具有此操作码的事件是一个跟踪集合启动事件。An event with this opcode is a trace collection start event.

DataCollectionStop 4

具有此操作码的事件是一个跟踪集合停止事件。An event with this opcode is a trace collection stop event.

Extension 5

具有此操作码的事件是一个扩展事件。An event with this opcode is an extension event.

Info 0

具有此操作码的事件是一个信息事件。An event with this opcode is an informational event.

Receive 240

在应用程序中的一个活动收到数据时发布具有此操作码的事件。An event with this opcode is published when one activity in an application receives data.

Reply 6

在应用程序中的活动答复事件后发布具有此操作码的事件。An event with this opcode is published after an activity in an application replies to an event.

Resume 7

在应用程序中的活动从挂起状态恢复后发布具有此操作码的事件。An event with this opcode is published after an activity in an application resumes from a suspended state. 此事件应在具有挂起操作码的事件之后发生。The event should follow an event with the Suspend opcode.

Send 9

在应用程序中的一个活动将数据或系统资源传输到另一个活动时发布具有此操作码的事件。An event with this opcode is published when one activity in an application transfers data or system resources to another activity.

Start 1

在应用程序启动新事务或活动时发布具有此操作码的事件。An event with this opcode is published when an application starts a new transaction or activity. 当多个具有启动操作码的事件相继发生而没有具有停止操作码的事件时,此事件可以嵌入到另一个事务或活动中。This can be embedded into another transaction or activity when multiple events with the Start opcode follow each other without an event with a Stop opcode.

Stop 2

在应用程序中的活动或事务结束时发布具有此操作码的事件。An event with this opcode is published when an activity or a transaction in an application ends. 此事件与具有启动操作码的最后一个未成对的事件对应。The event corresponds to the last unpaired event with a Start opcode.

Suspend 8

在应用程序中的活动挂起时发布具有此操作码的事件。An event with this opcode is published when an activity in an application is suspended.

适用于

另请参阅