C# Class Disco.Services.Tasks.ScheduledTaskStatus

Inheritance: IScheduledTaskStatus
Mostrar archivo Open project: garysharp/Disco Class Usage Examples

Public Methods

Method Description
Canceled ( ) : bool
Finished ( ) : void
Finished ( string FinishedMessage ) : void
Finished ( string FinishedMessage, string FinishedUrl ) : void
LogInformation ( string Message ) : void
LogWarning ( string Message ) : void
Reset ( System.DateTime NextScheduledTimestamp ) : void
ScheduledTaskStatus ( ScheduledTask Task, string SessionId, string TriggerKey, string FinishedUrl = null ) : System
SetCancelSupported ( bool CancelSupported ) : void
SetFinishedMessage ( string FinishedMessage ) : void
SetFinishedUrl ( string FinishedUrl ) : void
SetIsSilent ( bool IsSilent ) : void
SetNextScheduledTimestamp ( System.DateTime NextScheduledTimestamp ) : void
SetTaskException ( Exception TaskException ) : void
Started ( ) : void
UpdateStatus ( byte Progress ) : void
UpdateStatus ( byte Progress, string CurrentDescription ) : void
UpdateStatus ( byte Progress, string CurrentProcess, string CurrentDescription ) : void
UpdateStatus ( double Progress ) : void
UpdateStatus ( double Progress, string CurrentDescription ) : void
UpdateStatus ( double Progress, string CurrentProcess, string CurrentDescription ) : void
UpdateStatus ( string CurrentDescription ) : void
WaitUntilFinished ( System.TimeSpan Timeout ) : bool

Private Methods

Method Description
CalculateProgressValue ( byte Progress ) : byte
Finally ( ) : void
UpdateTriggered ( ) : void
UpdateTriggered ( string ChangedProperty, object NewValue ) : void

Method Details

Canceled() public method

public Canceled ( ) : bool
return bool

Finished() public method

public Finished ( ) : void
return void

Finished() public method

public Finished ( string FinishedMessage ) : void
FinishedMessage string
return void

Finished() public method

public Finished ( string FinishedMessage, string FinishedUrl ) : void
FinishedMessage string
FinishedUrl string
return void

LogInformation() public method

public LogInformation ( string Message ) : void
Message string
return void

LogWarning() public method

public LogWarning ( string Message ) : void
Message string
return void

Reset() public method

public Reset ( System.DateTime NextScheduledTimestamp ) : void
NextScheduledTimestamp System.DateTime
return void

ScheduledTaskStatus() public method

public ScheduledTaskStatus ( ScheduledTask Task, string SessionId, string TriggerKey, string FinishedUrl = null ) : System
Task ScheduledTask
SessionId string
TriggerKey string
FinishedUrl string
return System

SetCancelSupported() public method

public SetCancelSupported ( bool CancelSupported ) : void
CancelSupported bool
return void

SetFinishedMessage() public method

public SetFinishedMessage ( string FinishedMessage ) : void
FinishedMessage string
return void

SetFinishedUrl() public method

public SetFinishedUrl ( string FinishedUrl ) : void
FinishedUrl string
return void

SetIsSilent() public method

public SetIsSilent ( bool IsSilent ) : void
IsSilent bool
return void

SetNextScheduledTimestamp() public method

public SetNextScheduledTimestamp ( System.DateTime NextScheduledTimestamp ) : void
NextScheduledTimestamp System.DateTime
return void

SetTaskException() public method

public SetTaskException ( Exception TaskException ) : void
TaskException System.Exception
return void

Started() public method

public Started ( ) : void
return void

UpdateStatus() public method

public UpdateStatus ( byte Progress ) : void
Progress byte
return void

UpdateStatus() public method

public UpdateStatus ( byte Progress, string CurrentDescription ) : void
Progress byte
CurrentDescription string
return void

UpdateStatus() public method

public UpdateStatus ( byte Progress, string CurrentProcess, string CurrentDescription ) : void
Progress byte
CurrentProcess string
CurrentDescription string
return void

UpdateStatus() public method

public UpdateStatus ( double Progress ) : void
Progress double
return void

UpdateStatus() public method

public UpdateStatus ( double Progress, string CurrentDescription ) : void
Progress double
CurrentDescription string
return void

UpdateStatus() public method

public UpdateStatus ( double Progress, string CurrentProcess, string CurrentDescription ) : void
Progress double
CurrentProcess string
CurrentDescription string
return void

UpdateStatus() public method

public UpdateStatus ( string CurrentDescription ) : void
CurrentDescription string
return void

WaitUntilFinished() public method

public WaitUntilFinished ( System.TimeSpan Timeout ) : bool
Timeout System.TimeSpan
return bool