HttpRuntimeSection.WaitChangeNotification プロパティ

定義

次の変更通知の前の待機時間を取得または設定します。

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

プロパティ値

アプリケーション ドメインの再起動をトリガーする次の変更通知の前の待機時間 (秒単位)。 既定値は 0 です。

属性

次の例は、 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

注釈

WaitChangeNotificationの推奨値が、デプロイ プロセス中にコピーを完了するまでの時間を超える可能性があります。

Note

コピーと展開プロセスの直後にコンテンツを表示すると、コンテンツがキャッシュに表示されることがあります。 これは一般的な動作です。 変更は、指定した待機期間が経過したときに有効になります。

適用対象

こちらもご覧ください