ConnectionPoolListenerPairCreate Method |
This API is preliminary and subject to change.
Combines two connection pool listeners.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax public static IConnectionPoolListener Create(
IConnectionPoolListener first,
IConnectionPoolListener second
)
Public Shared Function Create (
first As IConnectionPoolListener,
second As IConnectionPoolListener
) As IConnectionPoolListener
static member Create :
first : IConnectionPoolListener *
second : IConnectionPoolListener -> IConnectionPoolListener
Parameters
- first
- Type: MongoDB.Driver.Core.EventsIConnectionPoolListener
The first connection pool listener, or null. - second
- Type: MongoDB.Driver.Core.EventsIConnectionPoolListener
The second connection pool listener, or null.
Return Value
Type:
IConnectionPoolListenerA combined connection pool listener.
See Also