Lenguaje

HttpRuntimeSection.MaxWaitChangeNotification Propiedad

Definición

Obtiene o establece el intervalo de tiempo entre la primera notificación de cambio y la hora en la que se reinicia el dominio de aplicación.

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

Valor de propiedad

Intervalo de tiempo máximo, en segundos, desde la primera notificación de cambio y la hora en que se reinicia el dominio de aplicación.

Atributos

Ejemplos

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

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

Comentarios

Un valor sugerido para la MaxWaitChangeNotification propiedad superaría el tiempo necesario para completar una copia durante el proceso de implementación.

Note

El contenido puede aparecer 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