SingleEventSubscriberTSingleEvent Constructor |
Namespace:
MongoDB.Driver.Core.Events
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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