ReliableSessionElement.InactivityTimeout Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines TimeSpan Werts, der die maximale Dauer angibt, die der Kanal der anderen Kommunizierenden Partei erlaubt, keine Nachrichten zu senden, bevor der Kanal fehlerhaft ist.

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

Eigenschaftswert

Ein TimeSpan Wert, der die maximale Dauer angibt, die der Kanal der anderen Kommunikationspartei erlaubt, keine Nachrichten zu senden, bevor der Kanal fehlerhaft ist. Der Standardwert ist 00:10:00.

Attribute

Hinweise

Aktivität auf einem Kanal wird als Empfang einer Anwendung oder Infrastrukturnachricht definiert. Diese Eigenschaft steuert die maximale Zeitspanne, um eine inaktive Sitzung aktiv zu halten. Wenn es eine längere Zeit ohne Aktivität gibt, wird die Sitzung von der Infrastruktur und den Kanalfehlern abgebrochen.

Gilt für: