EventLogSession
EventLogSession()
EventLogSession(String)
EventLogSession(String, String, String, SecureString, SessionAuthentication)
GlobalSession
CancelCurrentOperations()
ClearLog(String)
ClearLog(String, String)
Dispose()
Dispose(Boolean)
ExportLog(String, PathType, String, String)
ExportLog(String, PathType, String, String, Boolean)
ExportLogAndMessages(String, PathType, String, String)
ExportLogAndMessages(String, PathType, String, String, Boolean, CultureInfo)
GetLogInformation(String, PathType)
GetLogNames()
GetProviderNames()
net11.0-windows7.0
namespace System.Diagnostics.Eventing.Reader
{
public class EventLogSession : IDisposable
{
public void ExportLog(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 3.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assemblies | System.Diagnostics.EventLog , Version=10.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Diagnostics.EventLog , Version=11.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
| Referencing | Your project needs a package reference to |
| Package | System.Diagnostics.EventLog (10.0.13) net9.0 |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API