Constructor ServerClosedEvent NamespaceMongoDB.Driver.Core.Events AssemblyMongoDB.Driver.dll ServerClosedEvent(ServerId, TimeSpan) Initializes a new instance of the ServerClosedEvent struct. public ServerClosedEvent(ServerId serverId, TimeSpan duration) Parameters serverId ServerId The server identifier. duration TimeSpan The duration of time it took to close the server.