private void BuildWatcherServerUnavailable(object sender, ServerUnavailableEventArgs args)
{
InvokeUpdateStatusBar("Build server unavailable, attempting to reconnect", args.Exception);
SetStatusUnknown();
// only notify that it was unavailable once
if (_serverPreviouslyUnavailable)
{
return;
}
InvokeTrayNotify(ToolTipIcon.Error, "Build Server Unavailable", "The connection will be restored when possible.");
ResetPreviousWorkingOrBrokenStatuses();
_serverPreviouslyUnavailable = true;
}