Compartilhar via


ServiceTimeoutsElement.TransactionTimeout Propriedade

Definição

Obtém ou define o período dentro do qual uma transação deve ser concluída.

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

Valor da propriedade

TimeSpan

Um objeto TimeSpan que representa o tempo no qual as transações devem ser concluídas ou ser canceladas automaticamente.

Atributos

Aplica-se a