C# Class System.Net.TimerThread.Timer

Represents a timer and provides a mechanism to cancel.

Inheritance: IDisposable
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
Cancel bool
Timer System.Collections

Public Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
Cancel ( ) : bool

Cancels the timer. Returns true if the timer hasn't and won't fire; false if it has or will.

Timer ( int durationMilliseconds ) : System.Collections

Method Details

Dispose() public method

public Dispose ( ) : void
return void