This documentation is archived and is not being maintained.

DataSourceProvider.BeginQuery Method

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.

Namespace:  System.Windows.Data
Assembly:  WindowsBase (in WindowsBase.dll)

protected virtual void BeginQuery()
You cannot use methods in XAML.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: