SingleEventSubscriberTSingleEvent Constructor |
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntaxpublic 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