<PackageReference Include="Azure.Core" Version="1.55.0" />

Azure.Identity.CredentialDiagnosticScope

namespace Azure.Identity { internal readonly struct CredentialDiagnosticScope : IDisposable { public CredentialDiagnosticScope(ClientDiagnostics diagnostics, string name, TokenRequestContext context, IScopeHandler scopeHandler); public void Start(); public AccessToken Succeeded(AccessToken token); public Exception FailWrapAndThrow(Exception ex, string additionalMessage = null, bool isCredentialUnavailable = false); public void Dispose(); } }