Bagikan melalui


HttpRuntimeSection.WaitChangeNotification Properti

Definisi

Mendapatkan atau mengatur waktu tunggu sebelum pemberitahuan perubahan berikutnya.

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

Nilai Properti

Waktu tunggu, dalam detik, sebelum pemberitahuan perubahan berikutnya yang memicu domain aplikasi untuk memulai ulang. Nilai defaultnya adalah 0.

Atribut

Contoh

Contoh berikut menunjukkan cara menggunakan WaitChangeNotification properti .

// 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

Keterangan

Nilai yang disarankan untuk WaitChangeNotification akan melebihi lamanya waktu untuk menyelesaikan salinan selama proses penyebaran.

Nota

Konten mungkin muncul di-cache jika Anda melihatnya segera setelah proses salin dan sebarkan. Ini adalah perilaku khas. Perubahan berlaku ketika periode tunggu yang Anda tentukan telah berlalu.

Berlaku untuk

Lihat juga