protected override void Run() { Description = String.Format(Messages.REMOVING_UPDATE, patch.Name); RelatedTask = Pool_patch.async_destroy(Session, patch.opaque_ref); PollToCompletion(0, 100); Description = String.Format(Messages.REMOVED_UPDATE, patch.Name); }
protected override void Run() { Description = String.Format(Messages.REMOVING_UPDATE, patch.Name()); try { RelatedTask = Pool_patch.async_destroy(Session, patch.opaque_ref); PollToCompletion(); } catch (Failure f) { log.Error("Clean up failed", f); } Description = String.Format(Messages.REMOVED_UPDATE, patch.Name()); }