共用方式為


ServiceTimeoutsElement.TransactionTimeout 屬性

定義

取得或設定異動必須完成的期間。

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

屬性值

TimeSpan

TimeSpan 物件,代表異動必須在期間完成、否則會自動中止的時間。

屬性

適用於