Assembly: System.Web (in system.web.dll)
'Declaration <TypeConverterAttribute(GetType(TimeSpanSecondsConverter))> _ Public Property DelayNotificationTimeout As TimeSpan 'Usage Dim instance As HttpRuntimeSection Dim value As TimeSpan value = instance.DelayNotificationTimeout instance.DelayNotificationTimeout = value
/** @property */ public TimeSpan get_DelayNotificationTimeout () /** @property */ public void set_DelayNotificationTimeout (TimeSpan value)
public function get DelayNotificationTimeout () : TimeSpan public function set DelayNotificationTimeout (value : TimeSpan)
Property ValueThe time, in seconds, that specifies the change notification delay.
You can address the problem caused by some antivirus applications, when writing information back to the scanned files, by setting the DelayNotificationTimeout property.
The problem occurs because file changes caused by antivirus scanning cannot be distinguished from the ones made by the user. The end result is the restart of the application whose files are being scanned.
The following example shows how to use the DelayNotificationTimeout property.