Share via


OperationReportHandler Constructor

Definition

Initializes a new instance of the OperationReportHandler class.

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)

Parameters

errorHandler
Action<String>

A callback for OnError(String).

warningHandler
Action<String>

A callback for OnWarning(String).

informationHandler
Action<String>

A callback for OnInformation(String).

verboseHandler
Action<String>

A callback for OnVerbose(String).

Applies to