[]
Provides data for the ServerConnectionChanged event.
public class ServerConnectionChangedEventArgs : EventArgs
This class contains information related to changes in the server connection status. It is used by the ServerConnectionChanged event to convey the new connection state and the server URL to event handlers. This allows subscribers to react appropriately to changes in server connectivity, such as updating UI elements or handling disconnections.
Name | Description |
---|---|
ServerConnectionChangedEventArgs(bool, string) | Initializes a new instance of the ServerConnectionChangedEventArgs class with specified connection state and server URL. |
Name | Description |
---|---|
Connected | Gets a value indicating whether the connection to the server is established. |
ServerUrl | Gets a value representing the URL of the server to which the connection status has changed. |