CommandErrorEventData
CommandErrorEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData, String>, DbConnection, DbCommand, String, DbContext, DbCommandMethod, Guid, Guid, Exception, Boolean, Boolean, DateTimeOffset, TimeSpan, CommandSource)
Exception
net11.0
namespace Microsoft.EntityFrameworkCore.Diagnostics
{
public class CommandErrorEventData : CommandEndEventData, IErrorEventData
{
public CommandErrorEventData(EventDefinitionBase! eventDefinition, Func<EventDefinitionBase!, EventData!, string!>! messageGenerator, DbConnection! connection, DbCommand! command, string! logCommandText, DbContext? context, DbCommandMethod executeMethod, Guid commandId, Guid connectionId, Exception! exception, bool async, bool logParameterValues, DateTimeOffset startTime, TimeSpan duration, CommandSource commandSource);
}
}
| .NET | 10.011.0 |
|---|---|
Information specific to net11.0 | |
| Assemblies | Microsoft.EntityFrameworkCore.Relational , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.EntityFrameworkCore.Relational , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational (11.0.0-preview.2.26159.112) net11.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API