HttpRuntimeSection.MaxWaitChangeNotification Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan atau mengatur interval waktu antara pemberitahuan perubahan pertama dan waktu di mana domain aplikasi dimulai ulang.
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
Nilai Properti
Interval waktu maksimum, dalam detik, dari pemberitahuan perubahan pertama dan waktu saat domain aplikasi dimulai ulang.
- Atribut
Contoh
Contoh berikut menunjukkan cara menggunakan MaxWaitChangeNotification properti .
// 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
Keterangan
Nilai yang disarankan MaxWaitChangeNotification untuk properti 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.