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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.