Share via


HttpRuntimeSection.WaitChangeNotification Propiedad

Definición

Obtiene o establece el tiempo de espera antes de la notificación de cambios siguiente.

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

Valor de propiedad

Tiempo de espera en segundos antes de la notificación de cambios siguiente que desencadena que se reinicie un dominio de aplicación. El valor predeterminado es 0.

Atributos

Ejemplos

En el ejemplo siguiente se muestra cómo usar la propiedad WaitChangeNotification.

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

Comentarios

Un valor sugerido para WaitChangeNotification superaría el período de tiempo para completar una copia durante el proceso de implementación.

Nota

Es posible que el contenido aparezca almacenado en caché si lo ve inmediatamente después de un proceso de copia e implementación. Este es un comportamiento típico. Los cambios surten efecto cuando haya transcurrido el período de espera especificado.

Se aplica a

Consulte también