Share via


ApplicationPoolRecycling.DisallowOverlappingRotation Property

Definition

Gets or sets the startup behavior of overlapping worker processes.

public:
 property bool DisallowOverlappingRotation { bool get(); void set(bool value); };
public bool DisallowOverlappingRotation { get; set; }
member this.DisallowOverlappingRotation : bool with get, set
Public Property DisallowOverlappingRotation 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 DisallowOverlappingRotation property. This code example is part of a larger example provided for the ApplicationPoolRecycling class.

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

Remarks

This property specifies whether the World Wide Web Publishing Service (WWW service) should start another worker process to replace the existing worker process while it is shutting down. You should set the value of this property to true if the worker process loads application code that does not support multiple instances of worker processes.

Applies to