/// <summary> /// Disposes all internal managed resources and stops the countdown to activation. /// </summary> protected override void DisposeManagedResources() { if (_SwitchTimer != null) { _SwitchTimer.TryDispose(DisposeOptions.SuppressExceptions); _SwitchTimer = null; } base.DisposeManagedResources(); }