Share via


HttpRuntimeSection.MaxWaitChangeNotification Propiedad

Definición

Obtiene o establece el intervalo de tiempo entre la primera notificación de cambios y la hora en 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

Int32

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

Atributos

Ejemplos

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

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