Jazyk

DbConnectionInterceptor.ConnectionCanceled Metoda

Definice

Volá se při zrušení otevření připojení.

public virtual void ConnectionCanceled(System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData eventData);
abstract member ConnectionCanceled : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
override this.ConnectionCanceled : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Diagnostics.ConnectionEndEventData -> unit
Public Overridable Sub ConnectionCanceled (connection As DbConnection, eventData As ConnectionEndEventData)

Parametry

connection
DbConnection

Připojení.

eventData
ConnectionEndEventData

Kontextové informace o připojení.

Implementuje

Platí pro