지정된 가상 시간에 실행할 작업을 예약합니다.
네임스페이스:Microsoft.Reactive.Testing
어셈블리: Microsoft.Reactive.Testing(Microsoft.Reactive.Testing.dll)
Syntax
'Declaration
Public Overrides Function ScheduleAbsolute(Of TState) ( _
state As TState, _
dueTime As Long, _
action As Func(Of IScheduler, TState, IDisposable) _
) As IDisposable
'Usage
Dim instance As TestScheduler
Dim state As TState
Dim dueTime As Long
Dim action As Func(Of IScheduler, TState, IDisposable)
Dim returnValue As IDisposable
returnValue = instance.ScheduleAbsolute(state, _
dueTime, action)
public override IDisposable ScheduleAbsolute<TState>(
TState state,
long dueTime,
Func<IScheduler, TState, IDisposable> action
)
public:
generic<typename TState>
virtual IDisposable^ ScheduleAbsolute(
TState state,
long long dueTime,
Func<IScheduler^, TState, IDisposable^>^ action
) override
abstract ScheduleAbsolute :
state:'TState *
dueTime:int64 *
action:Func<IScheduler, 'TState, IDisposable> -> IDisposable
override ScheduleAbsolute :
state:'TState *
dueTime:int64 *
action:Func<IScheduler, 'TState, IDisposable> -> IDisposable
JScript does not support generic types and methods.
형식 매개 변수
- TState
상태 유형입니다.
매개 변수
- state
형식: TState
실행할 작업에 전달된 상태입니다.
- dueTime
형식: System.Int64
작업을 실행할 절대 가상 시간입니다.
- action
형식: System.Func<IScheduler, TState, IDisposable>
실행할 동작입니다.
반환 값
형식: System.IDisposable
예약된 작업을 취소하는 데 사용되는 삭제 가능한 개체입니다.