OperationReportHandler Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A callback for OnError(String).
A callback for OnWarning(String).
A callback for OnInformation(String).
A callback for OnVerbose(String).
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework