HttpRuntimeSection.DelayNotificationTimeout Eigenschap

Definitie

Hiermee haalt u de vertraging van de wijzigingsmelding op of stelt u deze in.

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

Waarde van eigenschap

De tijd, in seconden, die de vertraging van de wijzigingsmelding aangeeft.

Kenmerken

Voorbeelden

In het volgende voorbeeld ziet u hoe u de DelayNotificationTimeout eigenschap gebruikt.

// 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)

Opmerkingen

U kunt het probleem oplossen dat wordt veroorzaakt door sommige antivirustoepassingen, bij het terugschrijven van informatie naar de gescande bestanden, door de DelayNotificationTimeout eigenschap in te stellen.

Note

Het probleem treedt op omdat bestandswijzigingen die worden veroorzaakt door antivirusscans, niet kunnen worden onderscheiden van de wijzigingen die door de gebruiker zijn aangebracht. Het eindresultaat is het opnieuw opstarten van de toepassing waarvan de bestanden worden gescand.

Van toepassing op