EventLogSession
Used to access the Event Log service on the local computer or a remote computer so you can manage and gather information about the event logs and event providers on the computer.
                using System.Collections.Generic;
using System.Globalization;
using System.Security;
namespace System.Diagnostics.Eventing.Reader
{
    public class EventLogSession : IDisposable
    {
        public static EventLogSession GlobalSession {
            get {
                throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
            }
        }
        public EventLogSession()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public EventLogSession(string server)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public EventLogSession(string server, string domain, string user, SecureString password, SessionAuthentication logOnType)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public void CancelCurrentOperations()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public void ClearLog(string logName)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public void ClearLog(string logName, string backupPath)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public void Dispose()
        {
        }
        protected virtual void Dispose(bool disposing)
        {
        }
        public void ExportLog(string path, PathType pathType, string query, string targetFilePath)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public void ExportLog(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors, CultureInfo targetCultureInfo)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public EventLogInformation GetLogInformation(string logName, PathType pathType)
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public IEnumerable<string> GetLogNames()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
        public IEnumerable<string> GetProviderNames()
        {
            throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog);
        }
    }
}