HttpRuntimeSection.MaxWaitChangeNotification 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 tidsintervallet mellan det första ändringsmeddelandet och tidpunkten då programdomänen startas om.
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
Egenskapsvärde
Det maximala tidsintervallet, i sekunder, från det första ändringsmeddelandet och tiden då programdomänen startas om.
- Attribut
Exempel
I följande exempel visas hur du använder egenskapen MaxWaitChangeNotification .
// 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
Kommentarer
Ett föreslaget värde för MaxWaitChangeNotification egenskapen skulle överskrida hur lång tid det tar att slutföra en kopia under distributionsprocessen.
Note
Innehållet kan verka 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.