語言

ServiceProviderDebugInfoEventData 類別

定義

一個 DiagnosticSource 用於參考除錯資訊的事件有效載荷類別。

[System.Runtime.CompilerServices.Nullable(0)]
public class ServiceProviderDebugInfoEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
public class ServiceProviderDebugInfoEventData : Microsoft.EntityFrameworkCore.Diagnostics.EventData
[<System.Runtime.CompilerServices.Nullable(0)>]
type ServiceProviderDebugInfoEventData = class
    inherit EventData
type ServiceProviderDebugInfoEventData = class
    inherit EventData
Public Class ServiceProviderDebugInfoEventData
Inherits EventData
繼承
ServiceProviderDebugInfoEventData
屬性

備註

更多資訊與範例請參閱 日誌、事件與診斷 。

建構函式

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

負責建構事件有效載荷。

屬性

名稱 Description
CachedDebugInfos

現有提供者的除錯資訊。

EventId

那 EventId 就是訊息的 ID 和名稱。

(繼承來源 EventData)
EventIdCode

一個字串代表該事件定義的程式碼。

(繼承來源 EventData)
LogLevel

LogLevel那個會用來記錄這個事件的訊息。

(繼承來源 EventData)
NewDebugInfo

新提供者的除錯資訊。

方法

名稱 Description
ToString()

一段記錄訊息描述此事件。

(繼承來源 EventData)

適用於