Silverlight 5 | WinRT |
public abstract interface IThreadPoolTimer | |
public abstract virtual TimeSpan Delay { get; } | |
public abstract virtual TimeSpan Period { get; } | |
public abstract virtual void Cancel(); |
public abstract sealed class ThreadPool | |
: __ComObject | |
static public IAsyncAction RunAsync(WorkItemHandler handler); | |
static public IAsyncAction RunAsync(WorkItemHandler handler, WorkItemPriority priority); |
public sealed class ThreadPoolTimer | |
: __ComObject, IThreadPoolTimer | |
public virtual TimeSpan Delay { get; } | |
public virtual TimeSpan Period { get; } | |
public virtual void Cancel(); | |
static public ThreadPoolTimer CreatePeriodicTimer(TimerElapsedHandler handler, TimeSpan period); | |
static public ThreadPoolTimer CreateTimer(TimerElapsedHandler handler, TimeSpan delay); |
public sealed class TimerElapsedHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(ThreadPoolTimer timer); |
public sealed class WorkItemHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(IAsyncAction operation); |
public sealed enum WorkItemPriority | |
: IComparable, IFormattable, IConvertible | |
{ Low, Normal, High } |