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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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