Click or drag to resize

ServerDescriptionChangedEventArgs Constructor

Initializes a new instance of the ServerDescriptionChangedEventArgs class.

Namespace:  MongoDB.Driver.Core.Servers
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public ServerDescriptionChangedEventArgs(
	ServerDescription oldServerDescription,
	ServerDescription newServerDescription
)

Parameters

oldServerDescription
Type: MongoDB.Driver.Core.ServersServerDescription
The old server description.
newServerDescription
Type: MongoDB.Driver.Core.ServersServerDescription
The new server description.
See Also