Comparteix a través de


HttpRuntimeSection.WaitChangeNotification Propiedad

Definición

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

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

El tiempo de espera, en segundos, antes de la siguiente notificación de cambio que desencadena un dominio de aplicación para reiniciarse. El valor predeterminado es 0.

Atributos

Ejemplos

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

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