Share via


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 は、デプロイ プロセス中にコピーを完了するまでの時間を超えます。

注意

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

適用対象

こちらもご覧ください