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

プロパティ値

Int32

最初の変更通知から、アプリケーション ドメインが再起動するまでの最大時間間隔 (秒単位)。

属性

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

注意

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

適用対象

こちらもご覧ください