ApplicationPoolRecycling.DisallowRotationOnConfigChange ApplicationPoolRecycling.DisallowRotationOnConfigChange ApplicationPoolRecycling.DisallowRotationOnConfigChange ApplicationPoolRecycling.DisallowRotationOnConfigChange Property

Definition

Gets or sets the startup behavior of overlapping worker processes in an application pool when a configuration change is detected.

public:
 property bool DisallowRotationOnConfigChange { bool get(); void set(bool value); };
public bool DisallowRotationOnConfigChange { get; set; }
member this.DisallowRotationOnConfigChange : bool with get, set
Public Property DisallowRotationOnConfigChange As Boolean

Property Value

true if overlapping rotation is not allowed; otherwise, false. The default is false.

Examples

The following example sets the value of the DisallowRotationOnConfigChange property. This code example is part of a larger example provided for the ApplicationPoolRecycling class.

Console.WriteLine("DisallowRotationOnConfigChange:\t{0}",
    manager.ApplicationPools["DefaultAppPool"].Recycling.DisallowRotationOnConfigChange.ToString());

Remarks

This property specifies whether the World Wide Web Publishing Service (WWW service) should rotate worker processes in an application pool when the configuration changes.

Applies to

See also