Dela via


LoggingOptions.Task Property

Definition

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

Int16

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.

Applies to

See also