<PackageReference Include="Microsoft.Data.SqlClient" Version="7.1.0-preview3.26238.4" />

Microsoft.Data.SqlClient.Diagnostics.SqlClientCommandError

public sealed class SqlClientCommandError : IReadOnlyList<KeyValuePair<string, object>>, IReadOnlyCollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Contains diagnostic information emitted after a command execution fails with an exception.
namespace Microsoft.Data.SqlClient.Diagnostics { public sealed class SqlClientCommandError : IReadOnlyList<KeyValuePair<string, object>>, IReadOnlyCollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable { public const string Name = "Microsoft.Data.SqlClient.WriteCommandError"; public Guid OperationId { get; } public string Operation { get; } public long Timestamp { get; } public Guid? ConnectionId { get; } public long? TransactionId { get; } public SqlCommand Command { get; } public Exception Exception { get; } public int Count { get; } public KeyValuePair<string, object> this[int index] { get; } public IEnumerator<KeyValuePair<string, object>> GetEnumerator(); } }