StandardBindingReliableSessionElement.InactivityTimeout 속성

정의

채널에 TimeSpan 오류가 발생하기 전에 다른 통신 당사자가 메시지를 보내지 않도록 허용하는 최대 기간을 지정하는 값을 가져오거나 설정합니다.

public:
 property TimeSpan InactivityTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")]
public TimeSpan InactivityTimeout { get; set; }
[System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan InactivityTimeout { get; set; }
[System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan InactivityTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")>]
member this.InactivityTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.InactivityTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("inactivityTimeout", DefaultValue="00:10:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.InactivityTimeout : TimeSpan with get, set
Public Property InactivityTimeout As TimeSpan

속성 값

TimeSpan 채널에 오류가 발생하기 전에 다른 통신 당사자가 메시지를 보내지 않도록 허용하는 최대 기간을 지정하는 값입니다. 기본값은 00:10:00입니다.

특성

설명

채널의 활동은 애플리케이션 또는 인프라 메시지를 수신하는 것으로 정의됩니다. 이 속성은 비활성 세션을 활성 상태로 유지하는 최대 시간을 제어합니다. 활동이 없는 시간이 길면 인프라 및 채널 오류로 인해 세션이 종료됩니다.

적용 대상