Partage via


HttpRuntimeSection.MaxWaitChangeNotification Propriété

Définition

Obtient ou définit l’intervalle de temps entre la première notification de modification et l’heure à laquelle le domaine d’application est redémarré.

public:
 property int MaxWaitChangeNotification { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxWaitChangeNotification", DefaultValue=0)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxWaitChangeNotification { get; set; }
[<System.Configuration.ConfigurationProperty("maxWaitChangeNotification", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxWaitChangeNotification : int with get, set
Public Property MaxWaitChangeNotification As Integer

Valeur de propriété

Intervalle de temps maximal, en secondes, de la première notification de modification et de l’heure à laquelle le domaine d’application est redémarré.

Attributs

Exemples

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

// Get the current MaxWaitChangeNotification property value.
Response.Write("MaxWaitChangeNotification: " +
  configSection.MaxWaitChangeNotification + "<br>");

// Set the MaxWaitChangeNotification property value to 10 seconds.
configSection.MaxWaitChangeNotification = 10;
' Get the current MaxWaitChangeNotification property value.
Response.Write("MaxWaitChangeNotification: " & _
  configSection.MaxWaitChangeNotification & "<br>")

' Set the MaxWaitChangeNotification property value to 10 seconds.
configSection.MaxWaitChangeNotification = 10

Remarques

Une valeur suggérée pour la MaxWaitChangeNotification propriété dépasse la durée d’exécution d’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 un processus de copie et 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