SqlClientCommandBefore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains diagnostic information emitted before a command is executed.
public ref class SqlClientCommandBefore sealed : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyList<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>
public sealed class SqlClientCommandBefore : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.KeyValuePair<string,object>>
type SqlClientCommandBefore = class
interface IReadOnlyList<KeyValuePair<string, obj>>
interface IReadOnlyCollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
type SqlClientCommandBefore = class
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
interface IReadOnlyCollection<KeyValuePair<string, obj>>
interface IReadOnlyList<KeyValuePair<string, obj>>
Public NotInheritable Class SqlClientCommandBefore
Implements IEnumerable(Of KeyValuePair(Of String, Object)), IReadOnlyCollection(Of KeyValuePair(Of String, Object)), IReadOnlyList(Of KeyValuePair(Of String, Object))
- Inheritance
-
SqlClientCommandBefore
- Implements
Constructors
| Name | Description |
|---|---|
| SqlClientCommandBefore() | |
Fields
| Name | Description |
|---|---|
| Name |
Contains diagnostic information emitted before a command is executed. |
Properties
| Name | Description |
|---|---|
| Command |
The command object that is executing. |
| ConnectionId |
A nullable guid uniquely identifying the connection that the command is being executed on. |
| Count |
Gets the number of elements in the collection. |
| Item[Int32] |
Gets the element at the specified index in the read-only list. |
| Operation |
The name of the operation. |
| OperationId |
A guid value used to correlate before, after and error events. |
| Timestamp |
The timestamp of the event. |
| TransactionId |
A nullable long uniquely identifying the transaction that the command enrolled in if it is enrolled in one. |
Methods
| Name | Description |
|---|---|
| GetEnumerator() |
Returns an enumerator that iterates through the collection. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the collection. |