PersistenceProviderElement.PersistenceOperationTimeout 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于持久性操作的超时值。
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,指定用于持久性操作的超时值。
- 属性
注解
默认值为 30 秒。