Click or drag to resize
ConnectionPoolListenerPairCreate Method
This API is preliminary and subject to change.
Combines two connection pool listeners.

Namespace: MongoDB.Driver.Core.Events
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public static IConnectionPoolListener Create(
	IConnectionPoolListener first,
	IConnectionPoolListener second
)

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: IConnectionPoolListener
A combined connection pool listener.
See Also