Skip to main content

ActivityStartOptions Properties

An object defining properties for the ActivityStartOptions class.

Tags​

A collection of key-value pairs representing metadata associated with the activity.

Type: List<KeyValuePair<string, object>>


TraceLevel​

The severity level for tracing. Defaults to LogSeverity.Information.

Type: LogSeverity
Accepted Values:

NameValue
Verbose0
Debug1
Information2
Warning3
Error4
Fatal5

User​

The name of the user associated with the activity.

Type: string


PropagationContext​

The context used for distributed tracing propagation.

Type: PropagationContext


ActivityKind​

Specifies the type of activity. Defaults to ActivityKind.Internal.

Type: ActivityKind


UserId​

The identifier of the user associated with the activity.

Type: string