Udostępnij za pośrednictwem


PersistenceProviderElement.PersistenceOperationTimeout Właściwość

Definicja

Pobiera lub ustawia upłynie czas używany dla operacji trwałości.

public:
 property TimeSpan PersistenceOperationTimeout { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("persistenceOperationTimeout", DefaultValue="00:00:30", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
public TimeSpan PersistenceOperationTimeout { get; set; }
[System.Configuration.ConfigurationProperty("persistenceOperationTimeout", DefaultValue="00:00:30", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan PersistenceOperationTimeout { get; set; }
[System.Configuration.ConfigurationProperty("persistenceOperationTimeout", DefaultValue="00:00:30", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan PersistenceOperationTimeout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("persistenceOperationTimeout", DefaultValue="00:00:30", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
member this.PersistenceOperationTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("persistenceOperationTimeout", DefaultValue="00:00:30", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.PersistenceOperationTimeout : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("persistenceOperationTimeout", DefaultValue="00:00:30", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.PersistenceOperationTimeout : TimeSpan with get, set
Public Property PersistenceOperationTimeout As TimeSpan

Wartość właściwości

TimeSpan

Wartość TimeSpan określająca ujmętą wartość dla operacji trwałości.

Atrybuty

Uwagi

Wartość domyślna to 30 sekund.

Dotyczy