Table of Contents

Class TraceSourceSdamEventSubscriber

Namespace
MongoDB.Driver.Core.Events.Diagnostics
Assembly
MongoDB.Driver.dll

An event subscriber that writes SDAM events to a trace source.

public sealed class TraceSourceSdamEventSubscriber : IEventSubscriber
Inheritance
TraceSourceSdamEventSubscriber
Implements
Inherited Members

Constructors

TraceSourceSdamEventSubscriber(TraceSource)

Initializes a new instance of the TraceSourceSdamEventSubscriber class.

Methods

TryGetEventHandler<TEvent>(out Action<TEvent>)

Tries to get an event handler for an event of type TEvent.