/// <summary> /// Initializes a new instance of the <see cref="BackgroundContext"/> class. /// </summary> /// <param name="task">The task.</param> public BackgroundContext(BackgroundTask task) { _task = task; }