Ixxerja permezz ta’


TypeLoadingEventData Class

Definition

A DiagnosticSource event payload class for type loading errors.

[System.Runtime.CompilerServices.Nullable(0)]
public class TypeLoadingEventData : Microsoft.EntityFrameworkCore.Diagnostics.AssemblyEventData, Microsoft.EntityFrameworkCore.Diagnostics.IErrorEventData
[<System.Runtime.CompilerServices.Nullable(0)>]
type TypeLoadingEventData = class
    inherit AssemblyEventData
    interface IErrorEventData
Public Class TypeLoadingEventData
Inherits AssemblyEventData
Implements IErrorEventData
Inheritance
TypeLoadingEventData
Attributes
Implements

Remarks

See Logging, events, and diagnostics for more information and examples.

Constructors

Name Description
TypeLoadingEventData(EventDefinitionBase, Func<EventDefinitionBase,EventData,String>, Assembly, Exception)

Initializes a new instance of the TypeLoadingEventData class.

Properties

Name Description
Assembly

The assembly.

(Inherited from AssemblyEventData)
EventId

The EventId that defines the message ID and name.

(Inherited from EventData)
EventIdCode

A string representing the code where this event is defined.

(Inherited from EventData)
Exception

Gets the type-loading exception.

LogLevel

The LogLevel that would be used to log message for this event.

(Inherited from EventData)

Methods

Name Description
ToString()

A logger message describing this event.

(Inherited from EventData)

Applies to