次の方法で共有


serviceAutoStartProviders Element for system.applicationHost [IIS Settings Schema]

Note

For more information about the serviceAutoStartProviders element, see the following topic on the Microsoft IIS.net Web site: Service Autostart Providers <serviceAutoStartProviders>.

Specifies a collection of managed assemblies that Windows Process Activation Service (WAS) will load automatically when the startMode attribute of an application pool is set to AlwaysRunning. This collection allows developers to specify assemblies that perform initialization tasks before any HTTP requests are serviced.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

add

Optional element.

Adds a provider to the collection of autostart providers.

clear

Optional element.

Clears the collection of autostart providers.

remove

Optional element.

Removes a provider from the collection of autostart providers.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.applicationHost

Specifies the root element for configuring Web process settings.

Remarks

For more information about the serviceAutoStartProviders element, see the following topic on the Microsoft IIS.net Web site: Service Autostart Providers <serviceAutoStartProviders>.

Element Information

Namespace

ApplicationHost.config

Schema Name

IIS 7

See Also

Reference

add Element for serviceAutoStartProviders for system.applicationHost [IIS Settings Schema]