SingleEventSubscriberTSingleEvent Constructor |
Namespace:
MongoDB.Driver.Core.Events
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public SingleEventSubscriber(
Action<TSingleEvent> handler
)
Public Sub New (
handler As Action(Of TSingleEvent)
)
new :
handler : Action<'TSingleEvent> -> SingleEventSubscriber
Parameters
- handler
- Type: SystemActionTSingleEvent
The handler.
See Also