ApplicationPoolElementDefaults Class1

Contains the default properties for the ApplicationPool class.

Syntax

class ApplicationPoolElementDefaults : EmbeddedObject  

Methods

This class contains no methods.

Properties

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

Name Description
AutoStart A read/write boolean value. true if the World Wide Web Publishing Service (WWW service) will start the application pool automatically either when the application pool is created or when IIS is started; otherwise, false. The default is true.
Cpu An ApplicationPoolProcessorSettings object that contains the CPU settings for an application pool.
Enable32BitAppOnWin64 A read/write boolean value. true if 32-bit applications (both managed and native) can run on 64-bit versions of Windows; otherwise, false. The default is false.
Failure An ApplicationPoolFailureSettings object that defines properties that determine the actions to be taken when an application pool or worker process fails.
ManagedPipelineMode A read/write sint32 value that indicates the managed pipeline mode. The possible values are listed in the Remarks section.
ManagedRuntimeVersion A read/write string value that contains the version of the .NET Framework that the application pool preloads. The default is "v2.0". If the property is written to, IIS recycles the application pool and loads the newly specified .NET Framework version for it.
Name A read/write string value that contains the name of the default application pool.
PassAnonymousToken A read/write boolean value. true if the Windows Process Activation Service (WAS) creates and passes a token for the built-in IUSR anonymous user account to the Anonymous authentication module; otherwise, false. The default is true.

The Anonymous authentication module uses the token to impersonate the built-in account. When PassAnonymousToken is false, the token will not be passed. Note: The IUSR anonymous user account replaces the IIS_MachineName anonymous account. The IUSR account can be used by IIS or other applications. It does not have any privileges assigned to it during setup.
ProcessModel A ProcessModelSettings object that defines the configuration settings for IIS worker processes.
QueueLength A read/write uint32 value that indicates the number of requests the universal listener will queue for an application pool before rejecting further requests. The default is 1000. When the limit is exceeded, the listener rejects additional requests with a 503 (service unavailable) error.
Recycling A RecyclingSettings object that defines the recycling configuration settings for application pools and worker processes.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the ApplicationPoolDefaults property of the Server class.

The following table lists the possible values for the ManagedPipelineMode property. The default is 0 (Integrated).

Value Keyword Description
0 Integrated The managed pipeline runs in Integrated mode.
1 Classic The managed pipeline runs in ISAPI mode.

Inheritance Hierarchy

EmbeddedObject

ApplicationPoolElementDefaults

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

ApplicationPool Class
EmbeddedObject Class
Server Class