TaskTimer Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This class will be removed in the next major version. Application Insights base library wouldn't provide this functionality any longer.
Runs a task after a certain delay and log any error.
[System.Obsolete("This class will be removed in the next major version. Application Insights base library wouldn't provide this functionality any longer.")]
public class TaskTimer : IDisposable
[<System.Obsolete("This class will be removed in the next major version. Application Insights base library wouldn't provide this functionality any longer.")>]
type TaskTimer = class
interface IDisposable
Public Class TaskTimer
Implements IDisposable
- Inheritance
-
TaskTimer
- Attributes
- Implements
Infinite |
Represents an infinite time span. |
Delay |
Gets or sets the delay before the task starts. |
Is |
Gets a value indicating whether value that indicates if a task has already started. |
Cancel() |
Cancels the current task. |
Dispose() |
Releases unmanaged and - optionally - managed resources. |
Dispose(Boolean) |
Disposes the timer. |
Start(Func<Task>) |
Start the task. |
Product | Versions (Obsolete) |
---|---|
Azure SDK for .NET | (Latest, Preview) |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: