ServiceTimeoutsElement.TransactionTimeout 屬性

定義

取得或設定異動必須完成的期間。Gets or sets the period within which a transaction must complete.

public:
 property TimeSpan TransactionTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("transactionTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public TimeSpan TransactionTimeout { get; set; }
[System.Configuration.ConfigurationProperty("transactionTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan TransactionTimeout { get; set; }
[System.Configuration.ConfigurationProperty("transactionTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[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=Mono.Cecil.CustomAttributeArgument)>]
member this.TransactionTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("transactionTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.TransactionTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("transactionTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.TransactionTimeout : TimeSpan with get, set
Public Property TransactionTimeout As TimeSpan

屬性值

TimeSpan

TimeSpan 物件,代表異動必須在期間完成、否則會自動中止的時間。A TimeSpan object that represents the time within which transactions must complete or be automatically aborted.

屬性

適用於