Struct ServerClosedEvent
Occurs after a server is closed.
public struct ServerClosedEvent
- Inherited Members
Constructors
ServerClosedEvent(ServerId, TimeSpan)
Initializes a new instance of the ServerClosedEvent struct.
public ServerClosedEvent(ServerId serverId, TimeSpan duration)
Parameters
serverId
ServerIdThe server identifier.
duration
TimeSpanThe duration of time it took to close the server.
Properties
ClusterId
Gets the cluster identifier.
public ClusterId ClusterId { get; }
Property Value
Duration
Gets the duration of time it took to close the server.
public TimeSpan Duration { get; }
Property Value
ServerId
Gets the server identifier.
public ServerId ServerId { get; }
Property Value
Timestamp
Gets the timestamp.
public DateTime Timestamp { get; }