DataSourceViewSelectCallback Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the asynchronous callback method that a data-bound control supplies to a data source view for asynchronous data retrieval.
public delegate void DataSourceViewSelectCallback(IEnumerable ^ data);
public delegate void DataSourceViewSelectCallback(IEnumerable data);
type DataSourceViewSelectCallback = delegate of IEnumerable -> unit
Public Delegate Sub DataSourceViewSelectCallback(data As IEnumerable)
Parameters
- data
- IEnumerable
An IEnumerable collection of data records that the Select(DataSourceSelectArguments, DataSourceViewSelectCallback) and ExecuteSelect(DataSourceSelectArguments) 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.
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |