The EFProfiler type exposes the following members.

Events

  NameDescription
Public eventAfterSerializing
The AfterSerializing event is fired after a profiler log entry is serialized (or queued for serialization in case of asynchronous log writes).
Public eventBeforeSerializing
The BeforeSerializing event is fired before a QueryInformation object (EF Profiler log entry) is about to be serialized.
Public eventFilteredOut
The FilteredOut event is fired if a profiler log entry is excluded from the log by a filter.
Public eventLogError
The LogError event is raised if the profiler fails to write to the log. Sender is the profiler entry that couldn't be written, event arguments contain a LogErrorEventArgs instance with details on what caused the failure.

See Also