다음을 통해 공유


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

  • Administering Event Logs
    Suggests additional topics on deleting event logs and performing administrative tasks on event logs.
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.
  • Using Installation Components
    Describes how to use the Add Installer link in the Properties window to add an installation component to applications with EventLog component instances.