VirtualTimeSchedulerBase<TAbsolute, TRelative>. ScheduleAbsolute<TState> , metoda
Planuje wykonanie akcji w dueTime.
Przestrzeń nazw:System.Reactive.Concurrency
Zestawu: System.Reactive (w System.Reactive.dll)
Składnia
'Declaration
Public MustOverride Function ScheduleAbsolute(Of TState) ( _
state As TState, _
dueTime As TAbsolute, _
action As Func(Of IScheduler, TState, IDisposable) _
) As IDisposable
'Usage
Dim instance As VirtualTimeSchedulerBase
Dim state As TState
Dim dueTime As TAbsolute
Dim action As Func(Of IScheduler, TState, IDisposable)
Dim returnValue As IDisposable
returnValue = instance.ScheduleAbsolute(state, _
dueTime, action)
public abstract IDisposable ScheduleAbsolute<TState>(
TState state,
TAbsolute dueTime,
Func<IScheduler, TState, IDisposable> action
)
public:
generic<typename TState>
virtual IDisposable^ ScheduleAbsolute(
TState state,
TAbsolute dueTime,
Func<IScheduler^, TState, IDisposable^>^ action
) abstract
abstract ScheduleAbsolute :
state:'TState *
dueTime:'TAbsolute *
action:Func<IScheduler, 'TState, IDisposable> -> IDisposable
JScript does not support generic types and methods.
Parametry typu
- TState
Typ argumentu stanu.
Parametry
- stan
Typ: TState
Stan przekazany do akcji do wykonania.
- dueTime
Typ: TAbsolute
Bezwzględny czas wykonywania akcji.
- action
Typ: System.Func<IScheduler, TState, IDisposable>
Akcja do wykonania.
Wartość zwracana
Typ: System.IDisposable
Obiekt IDisposable używany do anulowania zaplanowanej akcji (najlepszy wysiłek).