Edit

Share via


ActivityStatusCode Enum

Definition

Define the status code of the Activity which indicate the status of the instrumented operation.

public enum ActivityStatusCode
Inheritance
ActivityStatusCode

Fields

Name Value Description
Unset 0

Unset status code is the default value indicating the status code is not initialized.

Ok 1

Status code indicating the operation has been validated and completed successfully.

Error 2

Status code indicating an error is encountered during the operation.

Applies to

Product Versions
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)