EventLogTraceListener.EventLog Property

Definition

Important

This API is not CLS-compliant.

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

Property Value

The event log to write to.

Attributes

Applies to

See also