HttpRuntimeSection.MaxWaitChangeNotification プロパティ

定義

最初の変更通知とアプリケーション ドメインの再起動時刻の時間間隔を取得または設定します。

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

プロパティ値

最初の変更通知からの最大時間間隔 (秒単位)、およびアプリケーション ドメインが再起動された時刻。

属性

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

注釈

MaxWaitChangeNotification プロパティの推奨値は、展開プロセス中にコピーを完了するまでの時間を超えます。

Note

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

適用対象

こちらもご覧ください