PersistenceProviderElement.PersistenceOperationTimeout Свойство

Определение

Возвращает или задает время ожидания, используемое для операций сохраняемости.

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

Значение свойства

TimeSpan

Значение TimeSpan, которое задает время ожидания, используемое для операций сохраняемости.

Атрибуты

Комментарии

Значение по умолчанию - 30 секунды.

Применяется к