DataSourceViewSelectCallback Delegate (System.Web.UI)

Switch View :
ScriptFree
.NET Framework Class Library
DataSourceViewSelectCallback Delegate

Represents the asynchronous callback method that a data-bound control supplies to a data source view for asynchronous data retrieval.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)
Syntax

Visual Basic
Public Delegate Sub DataSourceViewSelectCallback ( _
	data As IEnumerable _
)
C#
public delegate void DataSourceViewSelectCallback(
	IEnumerable data
)
Visual C++
public delegate void DataSourceViewSelectCallback(
	IEnumerable^ data
)
F#
type DataSourceViewSelectCallback = 
    delegate of 
        data:IEnumerable -> unit

Parameters

data
Type: System.Collections.IEnumerable
An IEnumerable collection of data records that the Select and ExecuteSelect methods return.
Remarks

By default, ASP.NET Web page and control execution is synchronous. However, ASP.NET data source controls also support an asynchronous data retrieval pattern for data operations. None of the data source controls provided by ASP.NET version 2.0 are asynchronous, but a control developer can build a data source control that is asynchronous. The DataSourceView object supports the Select method for asynchronous data retrieval. The DataSourceViewSelectCallback delegate is passed to the data source view by a data-bound control, so that the view can call this delegate when asynchronous processing is complete and deliver the data to the data-bound control.

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference