Compartir a través de


OperationReportHandler Constructor

Definición

Inicializa una nueva instancia de la clase OperationReportHandler.

public OperationReportHandler (Action<string> errorHandler = default, Action<string> warningHandler = default, Action<string> informationHandler = default, Action<string> verboseHandler = default);
public OperationReportHandler (Action<string>? errorHandler = default, Action<string>? warningHandler = default, Action<string>? informationHandler = default, Action<string>? verboseHandler = default);
new Microsoft.EntityFrameworkCore.Design.OperationReportHandler : Action<string> * Action<string> * Action<string> * Action<string> -> Microsoft.EntityFrameworkCore.Design.OperationReportHandler
Public Sub New (Optional errorHandler As Action(Of String) = Nothing, Optional warningHandler As Action(Of String) = Nothing, Optional informationHandler As Action(Of String) = Nothing, Optional verboseHandler As Action(Of String) = Nothing)

Parámetros

errorHandler
Action<String>

Devolución de llamada para OnError(String).

warningHandler
Action<String>

Devolución de llamada para OnWarning(String).

informationHandler
Action<String>

Devolución de llamada para OnInformation(String).

verboseHandler
Action<String>

Devolución de llamada para OnVerbose(String).

Se aplica a