共用方式為


VirtualTimeSchedulerBase < TAbsolute、TRelative > 。IsEnabled 屬性

取得是否啟用排程器以執行工作。

Namespace:System.Reactive.Concurrency
裝配: System.Reactive.dll) 中的 System.Reactive (

語法

'Declaration
Public Property IsEnabled As Boolean
    Get
    Private Set
'Usage
Dim instance As VirtualTimeSchedulerBase
Dim value As Boolean

value = instance.IsEnabled
public bool IsEnabled { get; private set; }
public:
property bool IsEnabled {
    bool get ();
    private: void set (bool value);
}
member IsEnabled : bool with get, private set
function get IsEnabled () : boolean
private function set IsEnabled (value : boolean)

屬性值

類型: System.Boolean
如果排程器已啟用執行工作,則為 true;否則為 false。

另請參閱

參考

VirtualTimeSchedulerBase < TAbsolute, TRelative > 類別

System.Reactive.Concurrency 命名空間