Back to Devexpress

GetQueryableEventArgs.AreSourceRowsThreadSafe Property

corelibraries-devexpress-dot-data-dot-linq-dot-getqueryableeventargs-d56db501.md

latest2.0 KB
Original Source

GetQueryableEventArgs.AreSourceRowsThreadSafe Property

Specifies whether elements retrieved by the LinqInstantFeedbackSource‘s queryable source are thread-safe.

Namespace : DevExpress.Data.Linq

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public bool AreSourceRowsThreadSafe { get; set; }
vb
Public Property AreSourceRowsThreadSafe As Boolean

Property Value

TypeDescription
Boolean

true , if elements retrieved by the queryable source are thread-safe; otherwise, false.

|

Remarks

Set this property in a LinqInstantFeedbackSource.GetQueryable event handler, according to the type (thread-safe or not) of elements retrieved by a queryable source that is provided via the GetQueryableEventArgs.QueryableSource property. By default, the AreSourceRowsThreadSafe property is initialized by the LinqInstantFeedbackSource.AreSourceRowsThreadSafe property value.

Note

Do not set the AreSourceRowsThreadSafe property to true for queryable sources that may retrieve non-thread-safe elements.

See Also

GetQueryableEventArgs Class

GetQueryableEventArgs Members

DevExpress.Data.Linq Namespace