Files
dotnet-runtime/src/libraries/System.Threading.Timer/ref/System.Threading.Timer.cs
T

30 lines
1.6 KiB
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ------------------------------------------------------------------------------
// Changes to this file must follow the http://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace System.Threading
{
public sealed class Timer : System.MarshalByRefObject, System.IDisposable
{
public Timer(System.Threading.TimerCallback callback) { }
public Timer(System.Threading.TimerCallback callback, object state, int dueTime, int period) { }
public Timer(System.Threading.TimerCallback callback, object state, long dueTime, long period) { }
public Timer(System.Threading.TimerCallback callback, object state, System.TimeSpan dueTime, System.TimeSpan period) { }
[System.CLSCompliantAttribute(false)]
public Timer(System.Threading.TimerCallback callback, object state, uint dueTime, uint period) { }
public bool Change(int dueTime, int period) { throw null; }
public bool Change(long dueTime, long period) { throw null; }
public bool Change(System.TimeSpan dueTime, System.TimeSpan period) { throw null; }
[System.CLSCompliantAttribute(false)]
public bool Change(uint dueTime, uint period) { throw null; }
public void Dispose() { }
public bool Dispose(System.Threading.WaitHandle notifyObject) { throw null; }
}
public delegate void TimerCallback(object state);
}