Interface IScheduledTaskWorker
Interface IScheduledTaskWorker
Inherited Members
System.IDisposable.Dispose()
Namespace: MediaBrowser.Model.Tasks
Assembly: MediaBrowser.Model.dll
Syntax
public interface IScheduledTaskWorker : IDisposable
Properties
Category
Gets the category.
Declaration
string Category { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The category. |
CurrentProgress
Gets the current progress.
Declaration
double? CurrentProgress { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> | The current progress. |
Description
Gets the description.
Declaration
string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The description. |
Id
Gets the unique id.
Declaration
string Id { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The unique id. |
LastExecutionResult
Gets the last execution result.
Declaration
TaskResult LastExecutionResult { get; }
Property Value
| Type | Description |
|---|---|
| TaskResult | The last execution result. |
Name
Gets the name.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The name. |
ScheduledTask
Gets or sets the scheduled task.
Declaration
IScheduledTask ScheduledTask { get; }
Property Value
| Type | Description |
|---|---|
| IScheduledTask | The scheduled task. |
State
Gets the state.
Declaration
TaskState State { get; }
Property Value
| Type | Description |
|---|---|
| TaskState | The state. |
Triggers
Gets the triggers that define when the task will run
Declaration
TaskTriggerInfo[] Triggers { get; set; }
Property Value
| Type | Description |
|---|---|
| TaskTriggerInfo[] | The triggers. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | value |
Methods
ReloadTriggerEvents()
Reloads the trigger events.
Declaration
void ReloadTriggerEvents()
Events
TaskProgress
Occurs when [task progress].
Declaration
event EventHandler<GenericEventArgs<double>> TaskProgress
Event Type
| Type | Description |
|---|---|
| System.EventHandler<GenericEventArgs<System.Double>> |