Share via


ServiceProviderDebugInfoEventData 类

定义

引用 DiagnosticSource 有关创建服务提供程序的调试信息的事件的事件有效负载类。

public class ServiceProviderDebugInfoEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
type ServiceProviderDebugInfoEventData = class
    inherit EventData
Public Class ServiceProviderDebugInfoEventData
Inherits EventData
继承
ServiceProviderDebugInfoEventData

注解

有关详细信息和示例,请参阅日志记录、事件和诊断

构造函数

ServiceProviderDebugInfoEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IDictionary<String,String>, IList<IDictionary<String, String>>)

构造事件有效负载。

属性

CachedDebugInfos

现有提供程序的调试信息。

EventId

EventId定义消息 ID 和名称的 。

(继承自 EventData)
EventIdCode

表示定义此事件的代码的字符串。

(继承自 EventData)
LogLevel

LogLevel用于记录此事件消息的 。

(继承自 EventData)
NewDebugInfo

新提供程序的调试信息。

方法

ToString()

描述此事件的记录器消息。

(继承自 EventData)

适用于