21 references to PathType
System.Core (1)
System.Core.cs (1)
51[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Eventing.Reader.PathType))]
System.Diagnostics.EventLog (20)
_generated\0\LibraryImports.g.cs (2)
1124internal static partial global::System.Diagnostics.Eventing.Reader.EventLogHandle EvtOpenLog(global::System.Diagnostics.Eventing.Reader.EventLogHandle session, string path, global::System.Diagnostics.Eventing.Reader.PathType flags) 1170static extern unsafe nint __PInvoke(nint __session_native, ushort* __path_native, global::System.Diagnostics.Eventing.Reader.PathType __flags_native);
System\Diagnostics\Reader\EventLogInformation.cs (1)
14internal EventLogInformation(EventLogSession session, string channelName, PathType pathType)
System\Diagnostics\Reader\EventLogQuery.cs (3)
15public EventLogQuery(string? path, PathType pathType) 20public EventLogQuery(string? path, PathType pathType, string? query) 45internal PathType ThePathType { get; }
System\Diagnostics\Reader\EventLogReader.cs (4)
51: this(new EventLogQuery(path, PathType.LogName), null) 55public EventLogReader(string path, PathType pathType) 70if (eventQuery.ThePathType == PathType.FilePath) 87if (_eventQuery.ThePathType == PathType.LogName)
System\Diagnostics\Reader\EventLogSession.cs (7)
209public EventLogInformation GetLogInformation(string logName, PathType pathType) 216public void ExportLog(string path, PathType pathType, string? query, string targetFilePath) 221public void ExportLog(string path, PathType pathType, string? query, string targetFilePath, bool tolerateQueryErrors) 228PathType.LogName => UnsafeNativeMethods.EvtExportLogFlags.EvtExportLogChannelPath, 229PathType.FilePath => UnsafeNativeMethods.EvtExportLogFlags.EvtExportLogFilePath, 238public void ExportLogAndMessages(string path, PathType pathType, string? query, string targetFilePath) 243public void ExportLogAndMessages(string path, PathType pathType, string? query, string targetFilePath, bool tolerateQueryErrors, CultureInfo? targetCultureInfo)
System\Diagnostics\Reader\EventLogWatcher.cs (1)
41: this(new EventLogQuery(path, PathType.LogName), null, false)
System\Diagnostics\Reader\NativeWrapper.cs (1)
223public static EventLogHandle EvtOpenLog(EventLogHandle session, string path, PathType flags)
System\Diagnostics\Reader\UnsafeNativeMethods.cs (1)
640PathType flags);