Table of Contents

Constructor ServerDescriptionChangedEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.dll

ServerDescriptionChangedEvent(ServerDescription, ServerDescription)

Initializes a new instance of the ServerDescriptionChangedEvent struct.

public ServerDescriptionChangedEvent(ServerDescription oldDescription, ServerDescription newDescription)

Parameters

oldDescription ServerDescription

The old description.

newDescription ServerDescription

The new description.