HttpRuntimeSection.WaitChangeNotification Property

Gets or sets the waiting time before the next change notification.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public int WaitChangeNotification { get; set; }
/** @property */
public int get_WaitChangeNotification ()

/** @property */
public void set_WaitChangeNotification (int value)

public function get WaitChangeNotification () : int

public function set WaitChangeNotification (value : int)

Not applicable.

Property Value

The waiting time, in seconds, before the next change notification that triggers an application domain to restart. The default value is 0.

A suggested value for WaitChangeNotification would exceed the length of time to complete a copy during the deployment process.


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.

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;

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions