Partilhar via


OperationReportHandler Construtor

Definição

Inicializa uma nova instância da classe 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>

Um retorno de chamada para OnError(String).

warningHandler
Action<String>

Um retorno de chamada para OnWarning(String).

informationHandler
Action<String>

Um retorno de chamada para OnInformation(String).

verboseHandler
Action<String>

Um retorno de chamada para OnVerbose(String).

Aplica-se a