EventSource Methods

EventSource Methods

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the EventSource class.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the EventSource class and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

Allows the EventSource object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethodSystem_CAPS_staticGenerateManifest(Type, String)

Returns a string of the XML manifest that is associated with the current event source.

System_CAPS_pubmethodSystem_CAPS_staticGenerateManifest(Type, String, EventManifestOptions)

Returns a string of the XML manifest that is associated with the current event source.

System_CAPS_pubmethodSystem_CAPS_staticGetGuid(Type)

Gets the unique identifier for this implementation of the event source.

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodSystem_CAPS_staticGetName(Type)

Gets the friendly name of the event source.

System_CAPS_pubmethodSystem_CAPS_staticGetSources()

Gets a snapshot of all the event sources for the application domain.

System_CAPS_pubmethodGetTrait(String)

Gets the trait value associated with the specified key.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodIsEnabled()

Determines whether the current event source is enabled.

System_CAPS_pubmethodIsEnabled(EventLevel, EventKeywords)

Determines whether the current event source that has the specified level and keyword is enabled.

System_CAPS_pubmethodIsEnabled(EventLevel, EventKeywords, EventChannel)

Determines whether the current event source is enabled for events with the specified level, keywords and channel.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_protmethodOnEventCommand(EventCommandEventArgs)

Called when the current event source is updated by the controller.

System_CAPS_pubmethodSystem_CAPS_staticSendCommand(EventSource, EventCommand, IDictionary<String, String>)

Sends a command to a specified event source.

System_CAPS_pubmethodSystem_CAPS_staticSetCurrentThreadActivityId(Guid)

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

Sets the activity ID on the current thread.

System_CAPS_pubmethodSystem_CAPS_staticSetCurrentThreadActivityId(Guid, Guid)

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

Sets the activity ID on the current thread, and returns the previous activity ID.

System_CAPS_pubmethodToString()

Obtains a string representation of the current event source instance.(Overrides Object.ToString().)

System_CAPS_pubmethodWrite(String)

Writes an event without fields, but with the specified name and default options.

System_CAPS_pubmethodWrite(String, EventSourceOptions)

Writes an event without fields, but with the specified name and options.

System_CAPS_pubmethodWrite<T>(String, T)

Writes an event with the specified name and data.

System_CAPS_pubmethodWrite<T>(String, EventSourceOptions, T)

Writes an event with the specified name, event data and options.

System_CAPS_pubmethodWrite<T>(String, EventSourceOptions, T)

Writes an event with the specified name, options and event data.

System_CAPS_pubmethodWrite<T>(String, EventSourceOptions, Guid, Guid, T)

Writes an event with the specified name, options, related activity and event data.

System_CAPS_protmethodWriteEvent(Int32)

Writes an event by using the provided event identifier.

System_CAPS_protmethodWriteEvent(Int32, Byte[])

Writes an event by using the provided event identifier and byte array argument.

System_CAPS_protmethodWriteEvent(Int32, Int32)

Writes an event by using the provided event identifier and 32-bit integer argument.

System_CAPS_protmethodWriteEvent(Int32, Int32, Int32)

Writes an event by using the provided event identifier and 32-bit integer arguments.

System_CAPS_protmethodWriteEvent(Int32, Int32, Int32, Int32)

Writes an event by using the provided event identifier and 32-bit integer arguments.

System_CAPS_protmethodWriteEvent(Int32, Int32, String)

Writes an event by using the provided event identifier and 32-bit integer and string arguments.

System_CAPS_protmethodWriteEvent(Int32, Int64)

Writes an event by using the provided event identifier and 64-bit integer argument.

System_CAPS_protmethodWriteEvent(Int32, Int64, Byte[])

Writes the event data using the specified indentifier and 64-bit integer and byte array arguments.

System_CAPS_protmethodWriteEvent(Int32, Int64, Int64)

Writes an event by using the provided event identifier and 64-bit arguments.

System_CAPS_protmethodWriteEvent(Int32, Int64, Int64, Int64)

Writes an event by using the provided event identifier and 64-bit arguments.

System_CAPS_protmethodWriteEvent(Int32, Int64, String)

Writes an event by using the provided event identifier and 64-bit integer, and string arguments.

System_CAPS_protmethodWriteEvent(Int32, Object[])

Writes an event by using the provided event identifier and array of arguments.

System_CAPS_protmethodWriteEvent(Int32, String)

Writes an event by using the provided event identifier and string argument.

System_CAPS_protmethodWriteEvent(Int32, String, Int32)

Writes an event by using the provided event identifier and arguments.

System_CAPS_protmethodWriteEvent(Int32, String, Int32, Int32)

Writes an event by using the provided event identifier and arguments.

System_CAPS_protmethodWriteEvent(Int32, String, Int64)

Writes an event by using the provided event identifier and arguments.

System_CAPS_protmethodWriteEvent(Int32, String, String)

Writes an event by using the provided event identifier and string arguments.

System_CAPS_protmethodWriteEvent(Int32, String, String, String)

Writes an event by using the provided event identifier and string arguments.

System_CAPS_protmethodWriteEventCore(Int32, Int32, EventSource.EventData*)

Creates a new WriteEvent overload by using the provided event identifier and event data.

System_CAPS_protmethodWriteEventWithRelatedActivityId(Int32, Guid, Object[])

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

Writes an event that indicates that the current activity is related to another activity.

System_CAPS_protmethodWriteEventWithRelatedActivityIdCore(Int32, Guid*, Int32, EventSource.EventData*)

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

Writes an event that indicates that the current activity is related to another activity.

Return to top
Show:
© 2016 Microsoft