Share via


ReliableSessionElement.InactivityTimeout Eigenschaft

Definition

Ruft einen TimeSpan-Wert ab oder legt einen Wert fest, der die maximale Dauer angibt, die der Kanal dem anderen Kommunikationsteilnehmer für das ausbleibende Senden von Meldungen zugesteht, bevor im Kanal ein Fehler ausgelöst wird.

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

TimeSpan

Ein TimeSpan-Wert, der die maximale Dauer angibt, die der Kanal dem anderen Kommunikationsteilnehmer für das ausbleibende Senden von Meldungen zugesteht, bevor im Kanal ein Fehler ausgelöst wird. Der Standardwert ist 00:10:00.

Attribute

Hinweise

Aktivität auf einem Kanal wird als Empfang einer Anwendungs- oder Infrastrukturnachricht definiert. Diese Eigenschaft steuert die maximale Menge an Zeit, um eine inaktive Sitzung am Leben zu erhalten. Bei längeren Zeiten ohne Aktivität wird die Sitzung durch die Infrastruktur beendet, und im Kanal wird ein Fehler ausgelöst.

Gilt für