Redigera

Dela via


EventMetadata.Task Property

Definition

Gets the task associated with the event. A task identifies a portion of an application or a component that publishes an event.

public:
 property System::Diagnostics::Eventing::Reader::EventTask ^ Task { System::Diagnostics::Eventing::Reader::EventTask ^ get(); };
public System.Diagnostics.Eventing.Reader.EventTask Task { get; }
member this.Task : System.Diagnostics.Eventing.Reader.EventTask
Public ReadOnly Property Task As EventTask

Property Value

The task associated with the event.

Remarks

A task is a 16-bit value with 16 top values reserved. This type allows any value between 0x0000 and 0xffef to be used.

The standard event tasks are defined in the StandardEventTask enumeration.

Applies to

See also