|
|
public abstract class EventListener
|
|
|
: IDisposable
|
|
|
public void DisableEvents(EventSource eventSource);
|
|
|
public virtual void Dispose();
|
|
|
public void EnableEvents(EventSource eventSource, EventLevel level);
|
|
|
public void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword);
|
|
|
public void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword, IDictionary`2<String, String> arguments);
|
|
|
static protected Int32 EventSourceIndex(EventSource eventSource);
|
|
|
internal protected virtual void OnEventSourceCreated(EventSource eventSource);
|
|
|
internal protected abstract virtual void OnEventWritten(EventWrittenEventArgs eventData);
|
|
|
public class EventSource
|
|
|
: IDisposable
|
|
|
public Guid Guid { get; }
|
|
|
public String Name { get; }
|
|
|
public virtual void Dispose();
|
|
|
protected virtual void Dispose(Boolean disposing);
|
|
|
protected virtual void Finalize();
|
|
|
static public String GenerateManifest(Type eventSourceType, String assemblyPathToIncludeInManifest);
|
|
|
static public Guid GetGuid(Type eventSourceType);
|
|
|
static public String GetName(Type eventSourceType);
|
|
|
static public IEnumerable`1<EventSource> GetSources();
|
|
|
public Boolean IsEnabled();
|
|
|
public Boolean IsEnabled(EventLevel level, EventKeywords keywords);
|
|
|
protected virtual void OnEventCommand(EventCommandEventArgs command);
|
|
|
static public void SendCommand(EventSource eventSource, EventCommand command, IDictionary`2<String, String> commandArguments);
|
|
|
public virtual String ToString();
|
|
|
protected void WriteEvent(Int32 eventId);
|
|
|
protected void WriteEvent(Int32 eventId, Int32 arg1);
|
|
|
protected void WriteEvent(Int32 eventId, Int32 arg1, Int32 arg2);
|
|
|
protected void WriteEvent(Int32 eventId, Int32 arg1, Int32 arg2, Int32 arg3);
|
|
|
protected void WriteEvent(Int32 eventId, Int64 arg1);
|
|
|
protected void WriteEvent(Int32 eventId, Int64 arg1, Int64 arg2);
|
|
|
protected void WriteEvent(Int32 eventId, Int64 arg1, Int64 arg2, Int64 arg3);
|
|
|
protected void WriteEvent(Int32 eventId, String arg1);
|
|
|
protected void WriteEvent(Int32 eventId, String arg1, String arg2);
|
|
|
protected void WriteEvent(Int32 eventId, String arg1, String arg2, String arg3);
|
|
|
protected void WriteEvent(Int32 eventId, String arg1, Int32 arg2);
|
|
|
protected void WriteEvent(Int32 eventId, String arg1, Int32 arg2, Int32 arg3);
|
|
|
protected void WriteEvent(Int32 eventId, String arg1, Int64 arg2);
|
|
|
protected void WriteEvent(Int32 eventId, Object args);
|
|
|
protected void WriteEventCore(Int32 eventId, Int32 eventDataCount, EventData data);
|