SessionStateSection.Timeout 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
세션 제한 시간을 가져오거나 설정합니다.
public:
property TimeSpan Timeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanMinutesOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("timeout", DefaultValue="00:20:00")]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:01:00")]
public TimeSpan Timeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.TimeSpanMinutesOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("timeout", DefaultValue="00:20:00")>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:01:00")>]
member this.Timeout : TimeSpan with get, set
Public Property Timeout As TimeSpan
속성 값
세션 제한 시간(분)입니다. 기본값은 20분입니다.
- 특성
예제
다음 코드 예제에서는 속성을 가져오는 방법을 보여 줍니다 Timeout . 개체에 액세스하는 방법을 알아보려면 클래스 항목의 SessionStateSection 코드 예제를 SessionStateSection 참조하세요.
// Display the current Timeout property value.
Console.WriteLine("Timeout: {0}",
sessionStateSection.Timeout);
' Display the current Timeout property value.
Console.WriteLine("Timeout: {0}", sessionStateSection.Timeout)
설명
이 속성은 Timeout 525,601분(1년)보다 큰 값으로 설정할 수 없습니다.