EventRecordWrittenEventArgs
When the EventRecordWritten event is raised, an instance of this object is passed to the delegate method that handles the event. This object contains the event that was published to the event log or the exception that occurred when the event subscription failed.
namespace System.Diagnostics.Eventing.Reader
{
public sealed class EventRecordWrittenEventArgs : EventArgs
{
public Exception EventException {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
public EventRecord EventRecord {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
}
}
internal EventRecordWrittenEventArgs()
{
}
}
}