Tracing Constants

IIS 7.0
 

This topic describes the constants that are defined in the Httptrace.h header file.

Constant

Bitmask

Description

HTTP_TRACE_EVENT_FLAG_STATIC_DESCRIPTIVE_FIELDS

0x01

If the dwFlags member of an HTTP_TRACE_EVENT structure is set to this value, indicates that the pProviderGuid, pAreaGuid, and pszEventName members of that structure, as well as the pszName and pszDescription members in each HTTP_TRACE_EVENT_ITEM element of that structure, are static. In this case, the memory for all of these members is available and immutable for the lifetime of the process and, therefore, does not ever need to be copied.

The following constants are used with the IHttpTraceContext::SetTraceConfiguration method. Verify that a module includes the Initguid.h file when you use these GUIDs.

Constant

GUID

Description

GUID_IIS_ALL_TRACE_PROVIDERS

{00000000-0000-0000-0000-000000000000}

Indicates that a module listens for events from all providers.

GUID_IIS_WWW_SERVER_TRACE_PROVIDER

{3A2A4E84-4C21-4981-AE10-3FDA0D9B0F83}

Indicates that a module listens for events from only the provider for World Wide Web (WWW) server tracing.

GUID_IIS_ASPNET_TRACE_PROVIDER

{AFF081FE-0247-4275-9C4E-021F3DC1DA35}

Indicates that a module listens for events from only the provider for ASP.NET tracing.

GUID_IIS_ASP_TRACE_TRACE_PROVIDER

{06B94D9A-B15E-456E-A4Ef-37C984A2CB4B}

Indicates that a module listens for events from only the provider for ASP tracing.

GUID_IIS_WWW_GLOBAL_TRACE_PROVIDER

{D55D3BC9-CBA9-44DF-827E-132D3A4596C2}

Indicates that a module listens for events from only the provider for global tracing.

GUID_IIS_ISAPI_TRACE_PROVIDER

{A1C2040E-8840-4C31-BA11-9871031A19EA}

Indicates that a module listens for events from only the provider for ISAPI tracing.

Type

Description

Client

  • IIS 7.0 on Windows Vista

  • IIS 7.5 on Windows 7

  • IIS 8.0 on Windows 8

  • IIS 10.0 on Windows 10

Server

  • IIS 7.0 on Windows Server 2008

  • 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 Technical Preview

Product

  • IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0

  • IIS Express 7.5, IIS Express 8.0, IIS Express 10.0

Header

Httptrace.h

Show: