TestScheduler.ScheduleAbsolute<TState> メソッド (TState、Int64、Func<IScheduler、TState、IDisposable>)
指定した仮想時刻に実行されるアクションをスケジュールします。
Namespace:Microsoft.Reactive.Testing
アセンブリ: Microsoft.Reactive.Testing (Microsoft.Reactive.Testing.dll)
構文
'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
スケジュールされたアクションを取り消すために使用される破棄可能なオブジェクト。