EventLogWatcher.Enabled 屬性

定義

取得或設定值,指出這個物件是否會開始傳遞事件至事件委派。

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

屬性值

true 當這個物件可以將事件傳遞至事件委派時; false 當這個物件已停止傳遞時。

適用於

另請參閱