C# Class Windows.System.Threading.ThreadPoolTimer

显示文件 Open project: ermau/WinRT.NET Class Usage Examples

Public Methods

Method Description
Cancel ( ) : void
CreatePeriodicTimer ( TimeElapsedHandler handler, TimeSpan period ) : ThreadPoolTimer
CreateTimer ( TimeElapsedHandler handler, TimeSpan delay ) : ThreadPoolTimer

Private Methods

Method Description
ThreadPoolTimer ( TimeElapsedHandler handler, TimeSpan delay, bool isPeriodic ) : System

Method Details

Cancel() public method

public Cancel ( ) : void
return void

CreatePeriodicTimer() public static method

public static CreatePeriodicTimer ( TimeElapsedHandler handler, TimeSpan period ) : ThreadPoolTimer
handler TimeElapsedHandler
period TimeSpan
return ThreadPoolTimer

CreateTimer() public static method

public static CreateTimer ( TimeElapsedHandler handler, TimeSpan delay ) : ThreadPoolTimer
handler TimeElapsedHandler
delay TimeSpan
return ThreadPoolTimer