Partage via


HttpRuntimeSection.WaitChangeNotification Propriété

Définition

Obtient ou définit l’heure d’attente avant la notification de modification suivante.

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

Valeur de propriété

Temps d’attente, en secondes, avant la notification de modification suivante qui déclenche le redémarrage d’un domaine d’application. La valeur par défaut est 0.

Attributs

Exemples

L’exemple suivant montre comment utiliser la WaitChangeNotification propriété.

// 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

Remarques

Une valeur WaitChangeNotification suggérée dépasse la durée pendant laquelle effectuer une copie pendant le processus de déploiement.

Note

Le contenu peut apparaître mis en cache si vous l’affichez immédiatement après une copie et un processus de déploiement. Il s’agit d’un comportement classique. Les modifications prennent effet lorsque la période d’attente que vous avez spécifiée s’est écoulée.

S’applique à

Voir aussi