Читати англійською Редагувати

Поділитися через


EventActivityOptions Enum

Definition

Specifies the tracking of activity start and stop events.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum EventActivityOptions
Inheritance
EventActivityOptions
Attributes

Fields

Name Value Description
None 0

Use the default behavior for start and stop tracking.

Disable 2

Turn off start and stop tracking.

Recursive 4

Allow recursive activity starts. By default, an activity cannot be recursive. That is, a sequence of Start A, Start A, Stop A, Stop A is not allowed. Unintentional recursive activities can occur if the app executes and for some the stop is not reached before another start is called.

Detachable 8

Allow overlapping activities. By default, activity starts and stops must be property nested. That is, a sequence of Start A, Start B, Stop A, Stop B is not allowed will result in B stopping at the same time as A.

Applies to

Продукт Версії
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 1.3, 1.4, 1.5, 1.6, 2.0, 2.1
UWP 10.0