Editar

Compartir a través de


PersistenceProviderElement.PersistenceOperationTimeout Property

Definition

Gets or sets the time-out used for persistence operations.

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

Property Value

A TimeSpan that specifies the time-out used for persistence operations.

Attributes

Remarks

The default value is 30 seconds.

Applies to