EventMetadata.Task Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.