Udostępnij przez


StandardBindingReliableSessionElement.InactivityTimeout Właściwość

Definicja

Pobiera lub ustawia TimeSpan wartość określającą maksymalny czas trwania kanału umożliwia innej osobie komunikującej się nie wysyłać żadnych komunikatów przed uszkodzeniem kanału.

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

Wartość właściwości

TimeSpan Wartość określająca maksymalny czas trwania kanału pozwala innej osobie komunikującej się nie wysyłać żadnych komunikatów przed uszkodzeniem kanału. Wartość domyślna to 00:10:00.

Atrybuty

Uwagi

Działanie w kanale jest definiowane jako odbieranie komunikatu aplikacji lub infrastruktury. Ta właściwość kontroluje maksymalny czas, aby zachować nieaktywną sesję. Jeśli nie ma już czasu bez działania, sesja zostanie zakończona przez infrastrukturę i błędy kanału.

Dotyczy