共用方式為


EventListener.EventWritten 事件

定義

發生於事件已由事件接聽程式已啟用事件的事件來源 (EventSource 物件) 寫入時。

public:
 event EventHandler<System::Diagnostics::Tracing::EventWrittenEventArgs ^> ^ EventWritten;
public event EventHandler<System.Diagnostics.Tracing.EventWrittenEventArgs>? EventWritten;
public event EventHandler<System.Diagnostics.Tracing.EventWrittenEventArgs> EventWritten;
member this.EventWritten : EventHandler<System.Diagnostics.Tracing.EventWrittenEventArgs> 
Public Custom Event EventWritten As EventHandler(Of EventWrittenEventArgs) 
Public Event EventWritten As EventHandler(Of EventWrittenEventArgs) 

事件類型

適用於