Share via


HttpRuntimeSection.DelayNotificationTimeout プロパティ

定義

変更通知の遅延を取得または設定します。

public:
 property TimeSpan DelayNotificationTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsConverter))]
[System.Configuration.ConfigurationProperty("delayNotificationTimeout", DefaultValue="00:00:05")]
public TimeSpan DelayNotificationTimeout { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsConverter))]
[System.Configuration.ConfigurationProperty("delayNotificationTimeout", DefaultValue="00:00:00")]
public TimeSpan DelayNotificationTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsConverter))>]
[<System.Configuration.ConfigurationProperty("delayNotificationTimeout", DefaultValue="00:00:05")>]
member this.DelayNotificationTimeout : TimeSpan with get, set
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanSecondsConverter))>]
[<System.Configuration.ConfigurationProperty("delayNotificationTimeout", DefaultValue="00:00:00")>]
member this.DelayNotificationTimeout : TimeSpan with get, set
Public Property DelayNotificationTimeout As TimeSpan

プロパティ値

変更通知の遅延を指定する時間 (秒単位)。

属性

DelayNotificationTimeout プロパティを使用する方法を次の例に示します。

// Get the DelayNotificationTimeout property value.
Response.Write("DelayNotificationTimeout: " +
  configSection.DelayNotificationTimeout.ToString() + "<br>");

// Set the DelayNotificationTimeout property value to 10 seconds.
configSection.DelayNotificationTimeout = TimeSpan.FromSeconds(10);
' Get the DelayNotificationTimeout property value.
Response.Write("DelayNotificationTimeout: " & _
  configSection.DelayNotificationTimeout.ToString() & "<br>")

' Set the DelayNotificationTimeout property value to 10 seconds.
configSection.DelayNotificationTimeout = TimeSpan.FromSeconds(10)

注釈

一部のウイルス対策アプリケーションによって発生する問題に対処するには、 プロパティを設定 DelayNotificationTimeout して、スキャンしたファイルに情報を書き戻します。

Note

この問題は、ウイルス対策スキャンによって発生したファイルの変更をユーザーが行ったものと区別できないために発生します。 最終的な結果は、ファイルがスキャンされているアプリケーションの再起動です。

適用対象