<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="10.0.0-rc.1.25451.107" />

ActivityStatusCode

public enum ActivityStatusCode
Define the status code of the Activity which indicate the status of the instrumented operation.
namespace System.Diagnostics { public enum ActivityStatusCode { Unset, Ok, Error } }