Freigeben über


OperationReportHandler Konstruktor

Definition

Initialisiert eine neue Instanz der OperationReportHandler-Klasse.

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)

Parameter

errorHandler
Action<String>

Ein Rückruf für OnError(String).

warningHandler
Action<String>

Ein Rückruf für OnWarning(String).

informationHandler
Action<String>

Ein Rückruf für OnInformation(String).

verboseHandler
Action<String>

Ein Rückruf für OnVerbose(String).

Gilt für: