Microsoft.Data.SqlClient.Diagnostics.SqlClientCommandAfter
public sealed class SqlClientCommandAfter : IEnumerable<KeyValuePair<string, object>>, IEnumerable, IReadOnlyCollection<KeyValuePair<string, object>>, IReadOnlyList<KeyValuePair<string, object>>
Contains diagnostic information emitted after a command is successfully executed.
The name of the event that needs to be enabled for the event to be raised.
The command object that is executing.
A nullable guid uniquely identifying the connection that the command is being executed on.
Gets the number of elements in the collection.
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 event that has completed.
The timestamp of the event.
A nullable long uniquely identifying the transaction that the command is enrolled in if it is enrolled in one, or null.
public SqlClientCommandAfter()
Returns an enumerator that iterates through the collection.