Condividi tramite


ProcessModelSection.ResponseRestartDeadlockInterval Proprietà

Definizione

Non più utilizzata.

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

Valore della proprietà

TimeSpan

Non applicabile.

Attributi

Esempio

Nell'esempio di codice seguente viene illustrato come accedere alla proprietà ResponseRestartDeadlockInterval.


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

Commenti

Questa proprietà non viene più usata da ASP.NET e viene fornita solo per la compatibilità con le versioni precedenti. Non causerà un errore di configurazione se è già presente in un file di configurazione. Tutto il riciclo in caso di una condizione di deadlock è ora controllato dalla ResponseDeadlockInterval proprietà.

Si applica a