Edit

Share via


IGenericEvent Interface

Definition

Defines a parsed manifested or trace logging event.

public interface IGenericEvent
type IGenericEvent = interface
Public Interface IGenericEvent

Properties

ActivityId

Gets the ID of the activity for the event.

ActivityName

Gets the name of the activity for the event.

Channel

Gets the channel of the event.

EventKey

Gets the event key for the event, if available.

Fields

Gets a list of the fields in the event data, if available.

Id

Gets the ID of the event.

Is32Bit

Gets a value indicating whether the event is a 32-bit or a 64-bit event.

IsTraceLogging

Gets a value indicating whether the event is a TraceLogging event.

Keyword

Gets the keyword of the event.

Level

Gets the level of the event.

MessageTemplate

Gets the message template for the event.

Opcode

Gets the numeric opcode of the event.

OpcodeName

Gets the name of the opcode of the event.

Process

Gets the process that fired the event, if available.

ProcessId

Gets the ID of the process that fired the event.

Processor

Gets the index of the processor on which the event was fired.

ProviderId

Gets the ID of the provider for the event.

ProviderMessage

Gets the message of the provider for the event.

ProviderName

Gets the name of the provider for the event.

RelatedActivityId

Gets the ID of the related activity for the event, if available.

SessionId

Gets the ID of the session for the event, if available.

Stack

Gets the thread call stack that resulted in the event being fired.

Task

Gets the numeric task of the event.

TaskName

Gets the name of the task for the event.

Thread

Gets the thread that fired the event, if available.

ThreadId

Gets the ID of the thread that fired the event.

Timestamp

Gets the timestamp at which the generic event was recorded in the trace.

UserSecurityIdentifier

Gets the SecurityIdentifier of the user identity for the process whose thread fired the event.

Version

Gets the version of the event.

Methods

FormatMessage(IFormatProvider, String)

Gets the formatted message for the event.

Applies to