Table of Contents

Method ConnectionFailedAsync

Namespace
Innova.Data.Entity.Configuration
Assembly
Innova.Data.dll

ConnectionFailedAsync(DbConnection, ConnectionErrorEventData, CancellationToken)

Called when closing of a connection has failed with an exception. />.

public Task ConnectionFailedAsync(DbConnection connection, ConnectionErrorEventData eventData, CancellationToken cancellationToken = default)

Parameters

connection DbConnection

The connection.

eventData ConnectionErrorEventData

Contextual information about the connection.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task representing the asynchronous operation.