Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 2.94 KB

File metadata and controls

42 lines (33 loc) · 2.94 KB
title IHttpPerfCounterInfo Interface
description Learn how the IHttpPerfCounterInfo interface provides an interface for incrementing and decrementing performance counters.
ms.date 10/07/2016
ms.assetid 3ca70926-30f4-ebc5-2148-a3b8d0a6cbbe

IHttpPerfCounterInfo Interface

Provides an interface for incrementing and decrementing performance counters.

Syntax

class IHttpPerfCounterInfo  

Methods

The following table lists the methods exposed by the IHttpPerfCounterInfo interface.

Name Description
DecrementCounter Decrements a performance counter by a specified amount.
IncrementCounter Increments a performance counter by a specified amount.

Remarks

Calling the IHttpServer::GetPerfCounterInfo and IHttpSite::GetPerfCounterInfo methods will return, respectively, a server-level or site-level IHttpPerfCounterInfo interface, which is used to modify the [!INCLUDEiisver] performance counters.

Important

This interface is part of the [!INCLUDEiisver] infrastructure and is not intended to be used directly from your code.

Requirements

Type Description
Client - IIS 7.0 on [!INCLUDEwinvista]
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on [!INCLUDEwinsrv2008]
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100]
Header Httpserv.h

See Also

Web Server Core Interfaces
IHttpServer::GetPerfCounterInfo Method
IHttpSite::GetPerfCounterInfo Method