Condividi tramite


HttpRuntimeSection.MaxWaitChangeNotification Proprietà

Definizione

Ottiene o imposta l'intervallo di tempo tra la prima notifica di modifica e l'ora in cui il dominio applicazione viene riavviato.

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

Valore della proprietà

Intervallo di tempo massimo, espresso in secondi, dalla prima notifica di modifica e dall'ora di riavvio del dominio applicazione.

Attributi

Esempio

Nell'esempio seguente viene illustrato come utilizzare la MaxWaitChangeNotification proprietà .

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

Commenti

Un valore suggerito per la MaxWaitChangeNotification proprietà supera il tempo necessario per completare una copia durante il processo di distribuzione.

Annotazioni

Il contenuto potrebbe essere memorizzato nella cache se viene visualizzato immediatamente dopo un processo di copia e distribuzione. Si tratta di un comportamento tipico. Le modifiche diventano effettive quando è trascorso il periodo di attesa specificato.

Si applica a

Vedi anche