计划将在 dueTime 执行的操作。
Namespace:System.Reactive.Concurrency
装配: System.Reactive.dll) 中的 System.Reactive (
语法
'Declaration
Public Overrides Function ScheduleAbsolute(Of TState) ( _
state As TState, _
dueTime As TAbsolute, _
action As Func(Of IScheduler, TState, IDisposable) _
) As IDisposable
'Usage
Dim instance As VirtualTimeScheduler
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 override 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
) override
abstract ScheduleAbsolute :
state:'TState *
dueTime:'TAbsolute *
action:Func<IScheduler, 'TState, IDisposable> -> IDisposable
override ScheduleAbsolute :
state:'TState *
dueTime:'TAbsolute *
action:Func<IScheduler, 'TState, IDisposable> -> IDisposable
JScript does not support generic types and methods.
类型参数
- TState
状态参数类型。
参数
- state
类型:TState
传递给要执行的操作的状态。
- dueTime
类型: TAbsolute
执行操作的绝对时间。
- action
类型: System.Func<IScheduler、TState、 IDisposable>
要执行的操作。
返回值
类型: System.IDisposable
用于取消计划操作的可释放对象 (尽最大努力) 。