EventLogTraceListener.EventLog 属性
定义
重要
此 API 不符合 CLS。
获取或设置要写入的事件日志。Gets or sets the event log to write to.
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
属性值
要写入的事件日志。The event log to write to.
- 属性