LoggingOptions.Opcode Property
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.
Gets or sets the operation code value for an event.
public:
property LoggingOpcode Opcode { LoggingOpcode get(); void set(LoggingOpcode value); };
LoggingOpcode Opcode();
void Opcode(LoggingOpcode value);
public LoggingOpcode Opcode { get; set; }
var loggingOpcode = loggingOptions.opcode;
loggingOptions.opcode = loggingOpcode;
Public Property Opcode As LoggingOpcode
Property Value
The operation code.
Remarks
This value corresponds to the Event Tracing for Windows (ETW) definition of an opcode. Most events should use the Info opcode.
The LoggingActivity class will generate events with the Opcode set to Start and Stop.