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