Class SchedulerClient
This class is inherited by any class that wants to run tasks in the scheduler.
Inheritance
Namespace: DotNetNuke.Services.Scheduling
Assembly: DotNetNuke.dll
Syntax
public abstract class SchedulerClient : object
Constructors
| Improve this Doc View SourceSchedulerClient()
Initializes a new instance of the SchedulerClient class.
Declaration
public SchedulerClient()
Properties
| Improve this Doc View SourceaProcessMethod
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public string aProcessMethod { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ScheduleHistoryItem
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public ScheduleHistoryItem ScheduleHistoryItem { get; set; }
Property Value
Type | Description |
---|---|
ScheduleHistoryItem |
SchedulerEventGUID
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public string SchedulerEventGUID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Status
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ThreadID
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public int ThreadID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceCompleted()
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public void Completed()
DoWork()
This is the sub that kicks off the actual work within the SchedulerClient's subclass.
Declaration
public abstract void DoWork()
Errored(ref Exception)
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public void Errored(ref Exception objException)
Parameters
Type | Name | Description |
---|---|---|
Exception | objException |
Progressing()
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public void Progressing()
Started()
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public void Started()
Events
| Improve this Doc View SourceProcessCompleted
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public event WorkCompleted ProcessCompleted
Event Type
Type | Description |
---|---|
WorkCompleted |
ProcessErrored
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public event WorkErrored ProcessErrored
Event Type
Type | Description |
---|---|
WorkErrored |
ProcessProgressing
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public event WorkProgressing ProcessProgressing
Event Type
Type | Description |
---|---|
WorkProgressing |
ProcessStarted
This class is inherited by any class that wants to run tasks in the scheduler.
Declaration
public event WorkStarted ProcessStarted
Event Type
Type | Description |
---|---|
WorkStarted |