HttpRuntimeSection.WaitChangeNotification 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 waiting time before the next change notification.
public:
property int WaitChangeNotification { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("waitChangeNotification", DefaultValue=0)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int WaitChangeNotification { get; set; }
[<System.Configuration.ConfigurationProperty("waitChangeNotification", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.WaitChangeNotification : int with get, set
Public Property WaitChangeNotification As Integer
Property Value
The waiting time, in seconds, before the next change notification that triggers an application domain to restart. The default value is 0.
- Attributes
Examples
The following example shows how to use the WaitChangeNotification property.
// Get the WaitChangeNotification property value.
Response.Write("WaitChangeNotification: " +
configSection.WaitChangeNotification + "<br>");
// Set the WaitChangeNotification property value to 10 seconds.
configSection.WaitChangeNotification = 10;
' Get the WaitChangeNotification property value.
Response.Write("WaitChangeNotification: " & _
configSection.WaitChangeNotification & "<br>")
' Set the WaitChangeNotification property value to 10 seconds.
configSection.WaitChangeNotification = 10
Remarks
A suggested value for WaitChangeNotification would exceed the length of time to complete a copy during the deployment process.
Note
The content might appear cached if you view it immediately after a copy and deploy process. This is typical behavior. The changes take effect when the wait period that you specified has elapsed.