MachineSettingsSection.MaxTimeout Propriedade
Definição
Obtém uma quantidade máxima de tempo permitida antes do tempo limite de uma transação.Gets a maximum amount of time allowed before a transaction times out.
public:
property TimeSpan MaxTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("maxTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")]
public TimeSpan MaxTimeout { get; set; }
[<System.Configuration.ConfigurationProperty("maxTimeout", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.TimeSpanValidator(MaxValueString="10675199.02:48:05.4775807", MinValueString="00:00:00")>]
member this.MaxTimeout : TimeSpan with get, set
Public Property MaxTimeout As TimeSpan
Valor da propriedade
Um objeto TimeSpan que contém o tempo máximo permitido.A TimeSpan object that contains the maximum allowable time. O valor padrão é 00:10:00.The default value is 00:10:00.
- Atributos
Exceções
Uma tentativa de definir essa propriedade como valores negativos.An attempt to set this property to negative values.
Comentários
Essa propriedade só pode ser definida no arquivo Machine. config.This property can only be set in the machine.config file. Um valor de 00:00:00 (ou zero) é interpretado como infinito.A value of 00:00:00 (or zero) is interpreted as infinity.