EventLogRecord.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 the opcode of the event. The opcode defines a numeric value that identifies the activity or a point within an activity that the application was performing when it raised the event. For the name of the opcode, get the value of the OpcodeDisplayName property.
public:
virtual property Nullable<short> Opcode { Nullable<short> get(); };
public override short? Opcode { get; }
member this.Opcode : Nullable<int16>
Public Overrides ReadOnly Property Opcode As Nullable(Of Short)
Property Value
Returns a short value. This value can be null.
Remarks
The standard event opcodes are defined in the StandardEventOpcode enumeration.