HttpRuntimeSection.WaitChangeNotification Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar eller anger väntetiden före nästa ändringsmeddelande.
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
Egenskapsvärde
Väntetiden, i sekunder, innan nästa ändringsmeddelande som utlöser en programdomän att starta om. Standardvärdet är 0.
- Attribut
Exempel
I följande exempel visas hur du använder egenskapen WaitChangeNotification .
// 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
Kommentarer
Ett föreslaget värde för WaitChangeNotification skulle överskrida hur lång tid det tar att slutföra en kopia under distributionsprocessen.
Note
Innehållet kan visas cachelagrat om du visar det direkt efter en kopierings- och distributionsprocess. Detta är typiskt beteende. Ändringarna träder i kraft när den angivna väntetiden har förflutit.