Interface IScheduledJobLogRepository
Repository for maintaining logs for ScheduledJob.
Namespace: EPiServer.Scheduler
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public interface IScheduledJobLogRepository
Methods
GetAsync(Guid, Int64, Int32)
Get log information for a ScheduledJob.
Declaration
Task<PagedScheduledJobLogResult> GetAsync(Guid id, long startIndex, int maxCount)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Scheduled job identifier |
System.Int64 | startIndex | Index for where to start getting log items for. |
System.Int32 | maxCount | The maximum number of log items to return. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PagedScheduledJobLogResult> |
LogAsync(Guid, ScheduledJobLogItem)
Log the result of a completed ScheduledJob.
Declaration
Task LogAsync(Guid id, ScheduledJobLogItem item)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Scheduled job identifier |
ScheduledJobLogItem | item | The information that should be logged. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |