ActivityStatusCode Enum  
Definition
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 ActivityStatusCodepublic enum ActivityStatusCodetype ActivityStatusCode = Public Enum ActivityStatusCode- Inheritance
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. |