HttpRuntimeSection.WaitChangeNotification Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Recebe ou define o tempo de espera antes da próxima notificação de alteração.
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 Propriedade
O tempo de espera, em segundos, até à próxima notificação de alteração que desencadeia o reinício do domínio da aplicação. O valor padrão é 0.
- Atributos
Exemplos
O exemplo seguinte mostra como utilizar a WaitChangeNotification propriedade.
// 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
Observações
Um valor sugerido para WaitChangeNotification excederia o tempo necessário para completar uma cópia durante o processo de implantação.
Note
O conteúdo pode parecer em cache se o visualizares imediatamente após um processo de cópia e implementação. Este é um comportamento típico. As alterações entram em vigor quando o período de espera que especificou termina.