Dela via


Logging Application, Server, and Security Events

Windows event logs allow your applications and components to record information about important events. You can use these records to audit access to your system, troubleshoot problems, and re-create usage patterns.

Using the EventLog component and language features in Visual Studio or the .NET Framework, you can easily connect to Windows event logs on both local and remote computers and write entries to these logs. You can also read entries from existing logs and create your own custom event logs on computers that have Windows 2000 or Windows NT 4.0 installed.

In This Section

Topic Location
Walkthrough: Exploring Event Logs, Event Sources, and Entries Server Components in Visual Studio
How to: Work with Event Logs in Server Explorer Server Components in Visual Studio
Walkthrough: Exploring Event Logs, Event Sources, and Entries Server Components in Visual Studio
How to: Work with Event Logs in Server Explorer Server Components in Visual Studio
Walkthrough: Exploring Event Logs, Event Sources, and Entries Server Components in Visual Studio
How to: Work with Event Logs in Server Explorer Server Components in Visual Studio

Reference

  • EventLog class
    This class provides interaction with Windows event logs.