IsapiFilterElement Class

Specifies an ISAPI filter.

Syntax

class IsapiFilterElement : CollectionElement  

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the IsapiFilterElement class.

Name Description
EnableCache A read/write boolean value. true if IIS allows HTTP.sys caching for requests that go through the ISAPI filter; otherwise, false. If true, a particular request goes through the filter only once. After that, the response is cached by HTTP.sys and the filter is no longer involved. The default is false.
Enabled A read/write boolean value. true if the ISAPI filter is enabled; otherwise, false. The default is true.
Name A read-only string value that specifies the name of the ISAPI filter. The only key property.
Path A required nonempty read/write string value that specifies the full physical path to the DLL file of the ISAPI filter.
PreCondition A read/write string value that specifies a condition that must be satisfied before the ISAPI filter is loaded. The possible values are listed later in the Remarks section.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the IsapiFilters property of the IsapiFiltersSection class.

The following table lists the possible values for the PreCondition property. The default is null.

Value Description
bitness32 IIS loads the ISAPI filter only for 32-bit worker processes.
bitness64 IIS loads the ISAPI filter only for 64-bit worker processes.

Inheritance Hierarchy

CollectionElement

IsapiFilterElement

Requirements

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
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

CollectionElement Class
IsapiFiltersSection Class