HttpRuntimeSection.MaxWaitChangeNotification 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 intervalo de tempo entre a primeira notificação de alteração e o momento em que o domínio da aplicação é reiniciado.
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 Propriedade
O intervalo máximo de tempo, em segundos, desde a primeira notificação de alteração até ao momento em que o domínio da aplicação é reiniciado.
- Atributos
Exemplos
O exemplo seguinte mostra como utilizar a MaxWaitChangeNotification propriedade.
// 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
Observações
Um valor sugerido para a MaxWaitChangeNotification propriedade 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 visualizar imediatamente após um processo de copiar e implementar. Este é um comportamento típico. As alterações entram em vigor quando o período de espera que especificou termina.