C# Class Microsoft.HockeyApp.Extensibility.Implementation.TaskTimer

Runs a task after a certain delay and log any error.
Inheritance: IDisposable
Afficher le fichier Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Méthodes publiques

Свойство Type Description
InfiniteTimeSpan System.TimeSpan

Méthodes publiques

Méthode Description
Cancel ( ) : void

Cancels the current task.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

Start ( Func elapsed ) : void

Start the task.

Private Methods

Méthode Description
CancelAndDispose ( CancellationTokenSource tokenSource ) : void
Dispose ( bool disposing ) : void

Method Details

Cancel() public méthode

Cancels the current task.
public Cancel ( ) : void
Résultat void

Dispose() public méthode

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Résultat void

Start() public méthode

Start the task.
public Start ( Func elapsed ) : void
elapsed Func The task to run.
Résultat void

Property Details

InfiniteTimeSpan public_oe static_oe property

Represents an infinite time span.
public static TimeSpan,System InfiniteTimeSpan
Résultat System.TimeSpan