語言

TwoPropertyBaseCollectionsEventData 類別

定義

一個 DiagnosticSource 用於擁有兩個屬性集合的事件有效載荷類別。

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

備註

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

建構函式

名稱 Description
TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IPropertyBase>, IReadOnlyList<IPropertyBase>)

負責建構事件有效載荷。

TwoPropertyBaseCollectionsEventData(EventDefinitionBase, Func<EventDefinitionBase, EventData,String>, IReadOnlyList<IReadOnlyPropertyBase>, IReadOnlyList<IReadOnlyPropertyBase>)

負責建構事件有效載荷。

屬性

名稱 Description
EventId

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

(繼承來源 EventData)
EventIdCode

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

(繼承來源 EventData)
FirstPropertyCollection

第一次財產收集。

LogLevel

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

(繼承來源 EventData)
SecondPropertyCollection

第二批房產收藏。

方法

名稱 Description
ToString()

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

(繼承來源 EventData)

適用於