Editare

Partajați prin


ServiceTimeoutsElement.TransactionTimeout Property

Definition

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="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

Property Value

A TimeSpan object that represents the time within which transactions must complete or be automatically aborted.

Attributes

Applies to