ReliableSessionElement.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 です。

属性

注釈

チャネルでのアクティビティは、アプリケーションまたはインフラストラクチャ メッセージの受信と定義されます。 このプロパティは、非アクティブなセッションを維持する最大時間を制御します。 アクティビティがない時間が長い場合、セッションはインフラストラクチャによって中止され、チャネル障害が発生します。

適用対象