ActivityStatusCode Enum
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.
Define the status code of the Activity which indicate the status of the instrumented operation.
public enum class ActivityStatusCode
public enum ActivityStatusCode
type ActivityStatusCode =
Public Enum ActivityStatusCode
- Inheritance
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. |
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) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: