EventTask Class
Contains an event task that is defined in an event provider. The task identifies a portion of an application or a component that publishes an event. A task is a 16-bit value with 16 top values reserved.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() | DisplayName | Gets the localized name for the event task. |
![]() | EventGuid | Gets the event globally unique identifier (GUID) associated with the task. |
![]() | Name | Gets the non-localized name of the event task. |
![]() | Value | Gets the numeric value associated with the task. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
This class cannot be instantiated. A ProviderMetadata object defies a list of EventTask objects, one for each task defined in the provider. The standard task values and their meanings are defined in the StandardEventLevel enumeration.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios

