ApplicationPoolElementDefaults Class [IIS 7 and higher]
Contains the default properties for the ApplicationPool class.
The following table lists the properties exposed by the ApplicationPoolElementDefaults class.
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.
An ApplicationPoolProcessorSettings object that contains the CPU settings for an application pool.
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.
An ApplicationPoolFailureSettings object that defines properties that determine the actions to be taken when an application pool or worker process fails.
A read/write sint32 value that indicates the managed pipeline mode. The possible values are listed in the Remarks section.
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.
A read/write string value that contains the name of the default application pool.
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.
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.
A ProcessModelSettings object that defines the configuration settings for IIS worker processes.
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.
A RecyclingSettings object that defines the recycling configuration settings for application pools and worker processes.
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).
The managed pipeline runs in Integrated mode.
The managed pipeline runs in ISAPI mode.