TestScheduler.ScheduleAbsolute<TState> Method (TState, Int64, Func<IScheduler, TState, IDisposable>)

Schedules an action to be executed at the specified virtual time.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

public override IDisposable ScheduleAbsolute<TState>(
	TState state,
	long dueTime,
	Func<IScheduler, TState, IDisposable> action
)

Type Parameters

TState

The type of state.

Parameters

state
Type: TState
The state passed to the action to be executed.
dueTime
Type: System.Int64
Absolute virtual time at which to execute the action.
action
Type: System.Func<IScheduler, TState, IDisposable>
The action to be executed.

Return Value

Type: System.IDisposable
The disposable object used to cancel the scheduled action.
Show: