Aracılığıyla paylaş


HttpRuntimeSection.DelayNotificationTimeout Özellik

Tanım

Değişiklik bildirimi gecikmesini alır veya ayarlar.

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

Özellik Değeri

TimeSpan

Değişiklik bildirimi gecikmesini belirten saniye olarak süre.

Öznitelikler

Örnekler

Aşağıdaki örnekte özelliğinin nasıl kullanılacağı gösterilmektedir 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)

Açıklamalar

Bazı virüsten koruma uygulamalarının neden olduğu sorunu, taranan dosyalara bilgi yazarken özelliğini ayarlayarak DelayNotificationTimeout çözebilirsiniz.

Not

Sorun, virüsten koruma taramasının neden olduğu dosya değişikliklerinin kullanıcı tarafından yapılanlardan ayırt edilememesinden kaynaklanır. Sonuç, dosyaları taranan uygulamanın yeniden başlatılmasıdır.

Şunlara uygulanır