Microsoft.Data.SqlClient.Diagnostics.SqlClientConnectionCloseError
public sealed class SqlClientConnectionCloseError : IEnumerable<KeyValuePair<string, object>>, IEnumerable, IReadOnlyCollection<KeyValuePair<string, object>>, IReadOnlyList<KeyValuePair<string, object>>
Contains diagnostic information emitted after a connection close fails with an exception.
The name of the event that needs to be enabled for the event to be raised.
The connection object that has been closed.
The unique guid assigned to the connection.
Gets the number of elements in the collection.
The exception object that caused the command execution to fail.
Gets the element at the specified index in the read-only list.
The name of the operation.
A guid value used to correlate before, after and error events.
An IDictionary of statistic information about the connection.
The timestamp of the event.
public SqlClientConnectionCloseError()
Returns an enumerator that iterates through the collection.