語言

CoreEventId.RedundantAddServicesCallWarning 欄位

定義

服務提供者被呼叫了「AddEntityFramework*」,但沒有呼叫「UseInternalServiceProvider」。

public static readonly Microsoft.Extensions.Logging.EventId RedundantAddServicesCallWarning;
 staticval mutable RedundantAddServicesCallWarning : Microsoft.Extensions.Logging.EventId
Public Shared ReadOnly RedundantAddServicesCallWarning As EventId 

欄位值

備註

此活動屬於該 DbLoggerCategory.Infrastructure 類別。

此事件在與 DiagnosticSource搭配 時會使用 payload 。ServiceProviderEventData

適用於