EventLogTraceListener.EventLog 属性

定义

重要

此 API 不符合 CLS。

获取或设置要写入的事件日志。

public:
 property System::Diagnostics::EventLog ^ EventLog { System::Diagnostics::EventLog ^ get(); void set(System::Diagnostics::EventLog ^ value); };
[System.CLSCompliant(false)]
public System.Diagnostics.EventLog EventLog { get; set; }
public System.Diagnostics.EventLog EventLog { get; set; }
[<System.CLSCompliant(false)>]
member this.EventLog : System.Diagnostics.EventLog with get, set
member this.EventLog : System.Diagnostics.EventLog with get, set
Public Property EventLog As EventLog

属性值

EventLog

要写入的事件日志。

属性

适用于

另请参阅