VirtualTimeSchedulerBase < TAbsolute、TRelative > 。AdvanceBy 方法
依指定的相對時間將排程器的時鐘往前移,並執行針對該時間範圍排程的所有工作。
Namespace:System.Reactive.Concurrency
裝配: System.Reactive.dll) 中的 System.Reactive (
語法
'Declaration
Public Sub AdvanceBy ( _
time As TRelative _
)
'Usage
Dim instance As VirtualTimeSchedulerBase
Dim time As TRelative
instance.AdvanceBy(time)
public void AdvanceBy(
TRelative time
)
public:
void AdvanceBy(
TRelative time
)
member AdvanceBy :
time:'TRelative -> unit
public function AdvanceBy(
time : TRelative
)
參數
- time
類型: TRelative
排程器時鐘的相對時間。