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
Get |
Gets an object that represents the method represented by the specified delegate. |
Applies to
Producte | Versions |
---|---|
.NET Framework | 2.0, 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 |
See also
Comentaris de .NET
.NET és un projecte de codi obert. Seleccioneu un enllaç per enviar comentaris: