다음을 통해 공유


TestScheduler.ScheduleAbsolute<TState> 메서드(TState, Int64, Func<IScheduler, TState, IDisposable>)

지정된 가상 시간에 실행할 작업을 예약합니다.

네임스페이스: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
    작업을 실행할 절대 가상 시간입니다.

반환 값

형식: System.IDisposable
예약된 작업을 취소하는 데 사용되는 삭제 가능한 개체입니다.

참고 항목

참조

TestScheduler 클래스

ScheduleAbsolute 오버로드

Microsoft.Reactive.Testing 네임스페이스