HttpRuntimeSection.WaitChangeNotification Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft die Wartezeit vor der nächsten Änderungsbenachrichtigung ab oder legt sie fest.
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
Eigenschaftswert
Die Wartezeit in Sekunden vor der nächsten Änderungsbenachrichtigung, die einen Neustart einer Anwendungsdomäne auslöst. Der Standardwert ist 0.
- Attribute
Beispiele
Das folgende Beispiel zeigt, wie die WaitChangeNotification Eigenschaft verwendet wird.
// 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
Hinweise
Ein vorgeschlagener Wert WaitChangeNotification würde die Zeit für den Abschluss einer Kopie während des Bereitstellungsprozesses überschreiten.
Hinweis
Der Inhalt wird möglicherweise zwischengespeichert, wenn Sie ihn unmittelbar nach einem Kopier- und Bereitstellungsprozess anzeigen. Dies ist typisches Verhalten. Die Änderungen werden wirksam, wenn der von Ihnen angegebene Wartezeit abgelaufen ist.