Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents an object that schedules units of work on the current thread.
Inheritance Hierarchy
System.Object
System.Reactive.Concurrency.CurrentThreadScheduler
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Public NotInheritable Class CurrentThreadScheduler _
Implements IScheduler
'Usage
Dim instance As CurrentThreadScheduler
public sealed class CurrentThreadScheduler : IScheduler
public ref class CurrentThreadScheduler sealed : IScheduler
[<SealedAttribute>]
type CurrentThreadScheduler =
class
interface IScheduler
end
public final class CurrentThreadScheduler implements IScheduler
The CurrentThreadScheduler type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Now | Gets the scheduler's notion of current time. |
![]() |
ScheduleRequired | Gets a value indicating whether the caller must call a schedule method. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Schedule<TState>(TState, Func<IScheduler, TState, IDisposable>) | Schedules an action to be executed. |
![]() |
Schedule<TState>(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>) | Schedules an action to be executed at dueTime. |
![]() |
Schedule<TState>(TState, TimeSpan, Func<IScheduler, TState, IDisposable>) | Schedules an action to be executed after dueTime. |
![]() |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
![]() |
EnsureTrampoline | (Defined by Extensions.) |
![]() |
Schedule(Action) | Overloaded. Schedules an action to be executed. (Defined by Scheduler.) |
![]() |
Schedule(Action<Action>) | Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.) |
![]() |
Schedule(TimeSpan, Action) | Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.) |
![]() |
Schedule(DateTimeOffset, Action) | Overloaded. Schedules an action to be executed at dueTime. (Defined by Scheduler.) |
![]() |
Schedule(TimeSpan, Action<Action<TimeSpan>>) | Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.) |
![]() |
Schedule(DateTimeOffset, Action<Action<DateTimeOffset>>) | Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.) |
![]() |
Schedule<TState>(TState, Action<TState, Action<TState>>) | Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.) |
![]() |
Schedule<TState>(TState, TimeSpan, Action<TState, Action<TState, TimeSpan>>) | Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.) |
![]() |
Schedule<TState>(TState, DateTimeOffset, Action<TState, Action<TState, DateTimeOffset>>) | Overloaded. Schedules an action to be executed recursively at each dueTime. (Defined by Scheduler.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.