Partager via


JoinableTaskFactory.HangDetectionTimeout Property

Gets or sets the time between the last activity on a synchronously-blocking thread and the beginning of data collection about a possible hang.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Protected Property HangDetectionTimeout As TimeSpan
protected TimeSpan HangDetectionTimeout { get; set; }
protected:
property TimeSpan HangDetectionTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
member HangDetectionTimeout : TimeSpan with get, set
function get HangDetectionTimeout () : TimeSpan 
function set HangDetectionTimeout (value : TimeSpan)

Property Value

Type: System.TimeSpan
The timeout object.

.NET Framework Security

See Also

Reference

JoinableTaskFactory Class

Microsoft.VisualStudio.Threading Namespace