HttpRuntimeSection.WaitChangeNotification HttpRuntimeSection.WaitChangeNotification HttpRuntimeSection.WaitChangeNotification HttpRuntimeSection.WaitChangeNotification Property

Definition

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=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int WaitChangeNotification { get; set; }
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.

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.

Applies to

See Also