Partilhar via


EventSchema.Opcode Property

Applies to: Semantic Logging 2.0

Gets the operation code.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Schema
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.dll) Version: 2.0.1406.1

Syntax

public EventOpcode Opcode { get; }
'Declaration
Public ReadOnly Property Opcode As EventOpcode
    Get

Property Value

Type: EventOpcode
The operation code.

Remarks

Each event has a Type identifier that indicates what kind of an event is being logged. Note that providers are free to extend this set, so the id may not be just the value in Opcode.

See Also

EventSchema Class

EventSchema Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Schema Namespace