LoggingOptions.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 or sets the user-defined value that identifies a larger unit of work within an application or component.
public:
property short Task { short get(); void set(short value); };
short Task();
void Task(short value);
public short Task { get; set; }
var int16 = loggingOptions.task;
loggingOptions.task = int16;
Public Property Task As Short
Property Value
short
The task value.
Remarks
This value corresponds to the Event Tracing for Windows (ETW) definition of a task. It is a user-defined value. A task is a larger unit of work within an application or component, i.e. it identifies a scope of work that is broader than an Opcode.