Edit

Share via


EventTask Class

Definition

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.

public ref class EventTask sealed
public sealed class EventTask
type EventTask = class
Public NotInheritable Class EventTask
Inheritance
EventTask

Remarks

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.

Properties

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.

Methods

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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also