Ports v7 changes for U4-5728 - OriginalRequestUrl not initialized, KeepAlive or ScheduledPublishing run too soon
#U4-5728
This commit is contained in:
22
src/Umbraco.Web/Scheduling/TaskEventArgs.cs
Normal file
22
src/Umbraco.Web/Scheduling/TaskEventArgs.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
namespace Umbraco.Web.Scheduling
|
||||
{
|
||||
internal class TaskEventArgs<T> : EventArgs
|
||||
where T : IBackgroundTask
|
||||
{
|
||||
public T Task { get; private set; }
|
||||
public Exception Exception { get; private set; }
|
||||
|
||||
public TaskEventArgs(T task)
|
||||
{
|
||||
Task = task;
|
||||
}
|
||||
|
||||
public TaskEventArgs(T task, Exception exception)
|
||||
{
|
||||
Task = task;
|
||||
Exception = exception;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user