Freigeben über


Monitoring Performance Thresholds 

Windows performance counters allow your applications and components to publish, capture, and analyze the performance data that applications, services, and drivers provide. You can use this information to determine system bottlenecks and fine-tune system and application performance. For example, you might use a performance counter to track the amount of time required to process an order or query a database, or you might monitor the size of a message queue and write code that performs a specific action whenever the queue reaches a preset limit.

Using the PerformanceCounter component and language features in Visual Studio and the .NET Framework SDK, you can easily connect to performance counters on both local and remote computers and retrieve values from these counters. You can also write values to existing custom counters (those created with the .NET Framework) on the local computer and create your own custom counters on computers that have Windows installed.

In This Section

Topic Location
How to: Work with Performance Counters in Server Explorer Server Components in Visual Studio
Performance Counter Walkthroughs Server Components in Visual Studio
How to: Work with Performance Counters in Server Explorer Server Components in Visual Studio
Performance Counter Walkthroughs Server Components in Visual Studio
How to: Work with Performance Counters in Server Explorer Server Components in Visual Studio
Performance Counter Walkthroughs Server Components in Visual Studio
  • Using Installation Components
    Describes how to use the Add Installer link in the Properties window to add an installation component to applications with PerformanceCounter component instances.