DataSourceProvider.BeginQuery Method

Definition

When overridden in a derived class, this base class calls this method when InitialLoad() or Refresh() has been called. The base class delays the call if refresh is deferred or initial load is disabled.

C#
protected virtual void BeginQuery();

Remarks

Notes to Implementers: You can choose to execute the query on the same thread or on a background thread or using IsAsynchronous. When the query is complete, call OnQueryFinished to have the public properties updated.

Applies to

Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also