Click or drag to resize

ServerChannelSource Constructor

Initializes a new instance of the ServerChannelSource class.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax
public ServerChannelSource(
	IServer server,
	ICoreSessionHandle session
)

Parameters

server
Type: MongoDB.Driver.Core.ServersIServer
The server.
session
Type: MongoDB.Driver.Core.BindingsICoreSessionHandle
The session.
See Also