Partager via


ProcessModelSection.ResponseRestartDeadlockInterval Propriété

Définition

N’est plus utilisé.

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

Valeur de propriété

Non applicable.

Attributs

Exemples

L’exemple de code suivant montre comment accéder à la ResponseRestartDeadlockInterval propriété.


// Get the current ResponseRestartDeadlockInterval property
// value.
TimeSpan respRestartDeadlock =
    processModelSection.ResponseRestartDeadlockInterval;

// Set the ResponseRestartDeadlockInterval property to
// TimeSpan.Parse("04:00:00").
processModelSection.ResponseRestartDeadlockInterval = 
    TimeSpan.Parse("04:00:00");
' Get the current ResponseRestartDeadlockInterval property
' value.
   Dim respRestartDeadlock As TimeSpan = _
   processModelSection.ResponseRestartDeadlockInterval

' Set the ResponseRestartDeadlockInterval property to
' TimeSpan.Parse("04:00:00").
   processModelSection.ResponseRestartDeadlockInterval = _
   TimeSpan.Parse("04:00:00")

Remarques

Cette propriété n’est plus utilisée par ASP.NET et est fournie uniquement pour la compatibilité descendante. Il n’entraîne pas d’erreur de configuration s’il est déjà présent dans un fichier de configuration. Tout recyclage en cas de condition d’interblocage est désormais contrôlé par la ResponseDeadlockInterval propriété.

S’applique à