/// <summary>
 /// Removes the given task.
 /// </summary>
 /// <param name="p_tskTask">The task to remove.</param>
 public void RemoveTask(IBackgroundTask p_tskTask)
 {
     if (ActivityMonitor.CanRemove(p_tskTask))
     {
         ActivityMonitor.RemoveActivity(p_tskTask);
     }
 }
 /// <summary>
 /// Determines if the given <see cref="IBackgroundTask"/> can be removed.
 /// </summary>
 /// <param name="p_tskTask">The task for which it is to be determined
 /// if it can be removed.</param>
 /// <returns><c>true</c> if the task can be removed;
 /// <c>false</c> otherwise.</returns>
 public bool CanRemoveActivity(IBackgroundTask p_tskTask)
 {
     return(ActivityMonitor.CanRemove(p_tskTask));
 }