ApplicationPoolRecycling.DisallowRotationOnConfigChange Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.