EventLogRecord.Opcode Property

Definition

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.

Applies to

See also