EventWrittenEventArgs Class

.NET Framework (current version)
 

Provides data for the EventListener.OnEventWritten callback.

Namespace:   System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.EventArgs
    System.Diagnostics.Tracing.EventWrittenEventArgs

public class EventWrittenEventArgs : EventArgs

NameDescription
System_CAPS_pubpropertyActivityId

[Supported in the .NET Framework 4.5.1 and later versions]

Gets the activity ID on the thread that the event was written to.

System_CAPS_pubpropertyChannel

Gets the channel for the event.

System_CAPS_pubpropertyEventId

Gets the event identifier.

System_CAPS_pubpropertyEventName

Gets the name of the event.

System_CAPS_pubpropertyEventSource

Gets the event source object.

System_CAPS_pubpropertyKeywords

Gets the keywords for the event.

System_CAPS_pubpropertyLevel

Gets the level of the event.

System_CAPS_pubpropertyMessage

Gets the message for the event.

System_CAPS_pubpropertyOpcode

Gets the operation code for the event.

System_CAPS_pubpropertyPayload

Gets the payload for the event.

System_CAPS_pubpropertyPayloadNames

Returns a list of strings that represent the property names of the event.

System_CAPS_pubpropertyRelatedActivityId

[Supported in the .NET Framework 4.5.1 and later versions]

Gets the identifier of an activity that is related to the activity represented by the current instance.

System_CAPS_pubpropertyTags

Returns the tags specified in the call to the Write method.

System_CAPS_pubpropertyTask

Gets the task for the event.

System_CAPS_pubpropertyVersion

Gets the version of the event.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: