HostingEnvironmentSection.IdleTimeout 속성

정의

비활성 애플리케이션을 언로드하기 전까지의 시간(분)을 가져오거나 설정합니다.

public:
 property TimeSpan IdleTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanMinutesOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("idleTimeout", DefaultValue="10675199.02:48:05.4775807")]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan IdleTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanMinutesOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("idleTimeout", DefaultValue="10675199.02:48:05.4775807")>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]
member this.IdleTimeout : TimeSpan with get, set
Public Property IdleTimeout As TimeSpan

속성 값

비활성 애플리케이션을 언로드하기 전까지의 시간(분)을 나타내는 TimeSpan입니다.

특성

예제

다음 코드 예제에서는 IdleTimeout 속성을 사용하는 방법을 보여 줍니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 HostingEnvironmentSection 클래스입니다.

// Display IdleTimout property
Console.WriteLine("Idle Timeout: {0}", configSection.IdleTimeout);
' Display the IdleTimout property
Console.WriteLine("Idle Timeout: {0}", configSection.IdleTimeout)

설명

기본값은 IdleTimeout 속성은 "무제한". 이 설정은 컴퓨터 또는 애플리케이션 수준에서 설정할 수 있습니다. 이 설정은 다른 수준에서 정의 된 경우 무시 됩니다.

적용 대상