Click or drag to resize

ServerDescriptionChangedEvent Constructor

This API is preliminary and subject to change.
Initializes a new instance of the ServerDescriptionChangedEvent struct.

Namespace:  MongoDB.Driver.Core.Events
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public ServerDescriptionChangedEvent(
	ServerDescription oldDescription,
	ServerDescription newDescription
)

Parameters

oldDescription
Type: MongoDB.Driver.Core.ServersServerDescription
The old description.
newDescription
Type: MongoDB.Driver.Core.ServersServerDescription
The new description.
See Also