Partager via


OperationReportHandler Constructeur

Définition

Initialise une nouvelle instance de la 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)

Paramètres

errorHandler
Action<String>

Rappel pour OnError(String).

warningHandler
Action<String>

Rappel pour OnWarning(String).

informationHandler
Action<String>

Rappel pour OnInformation(String).

verboseHandler
Action<String>

Rappel pour OnVerbose(String).

S’applique à