CallbackTimeoutsElement.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 对象,表示一个时间段,事务必须在此期间完成,否则会自动中止。

属性

适用于