ServerDescriptionChangedEvent Constructor |
This API is preliminary and subject to change.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntax public ServerDescriptionChangedEvent(
ServerDescription oldDescription,
ServerDescription newDescription
)
Public Sub New (
oldDescription As ServerDescription,
newDescription As ServerDescription
)
new :
oldDescription : ServerDescription *
newDescription : ServerDescription -> ServerDescriptionChangedEvent
Parameters
- oldDescription
- Type: MongoDB.Driver.Core.ServersServerDescription
The old description. - newDescription
- Type: MongoDB.Driver.Core.ServersServerDescription
The new description.
See Also