共用方式為


CoreLoggerExtensions.ServiceProviderDebugInfo 方法

定義

ServiceProviderDebugInfo事件的記錄。

public static void ServiceProviderDebugInfo (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> diagnostics, System.Collections.Generic.IDictionary<string,string> newDebugInfo, System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string,string>> cachedDebugInfos);
static member ServiceProviderDebugInfo : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<System.Collections.Generic.IDictionary<string, string>> -> unit
<Extension()>
Public Sub ServiceProviderDebugInfo (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure), newDebugInfo As IDictionary(Of String, String), cachedDebugInfos As IList(Of IDictionary(Of String, String)))

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

要使用的診斷記錄器。

newDebugInfo
IDictionary<String,String>

新服務提供者的偵錯資訊。

cachedDebugInfos
IList<IDictionary<String,String>>

現有服務提供者的偵錯資訊。

適用於