SqlClientConnectionCloseError 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 after a connection close fails with an exception.
public ref class SqlClientConnectionCloseError 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 SqlClientConnectionCloseError : 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 SqlClientConnectionCloseError = class
interface IReadOnlyList<KeyValuePair<string, obj>>
interface IReadOnlyCollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
type SqlClientConnectionCloseError = class
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
interface IReadOnlyCollection<KeyValuePair<string, obj>>
interface IReadOnlyList<KeyValuePair<string, obj>>
Public NotInheritable Class SqlClientConnectionCloseError
Implements IEnumerable(Of KeyValuePair(Of String, Object)), IReadOnlyCollection(Of KeyValuePair(Of String, Object)), IReadOnlyList(Of KeyValuePair(Of String, Object))
- Inheritance
-
SqlClientConnectionCloseError
- Implements
Constructors
| Name | Description |
|---|---|
| SqlClientConnectionCloseError() | |
Fields
| Name | Description |
|---|---|
| Name |
The name of the event that needs to be enabled for the event to be raised. |
Properties
| Name | Description |
|---|---|
| Connection |
The connection object that has been closed. |
| ConnectionId |
The unique guid assigned to the connection. |
| Count |
Gets the number of elements in the collection. |
| Exception |
The exception object that caused the command execution to fail. |
| 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. |
| Statistics |
An IDictionary of statistic information about the connection. |
| Timestamp |
The timestamp of the event. |
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. |