DataSourceViewSelectCallback 委托

定义

表示数据绑定控件向数据源视图提供以进行异步数据检索的异步回调方法。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)

参数

继承
DataSourceViewSelectCallback

注解

默认情况下, ASP.NET 网页和控件执行是同步的。By default, ASP.NET Web page and control execution is synchronous. 但是, ASP.NET 数据源控件还支持数据操作的异步数据检索模式。However, ASP.NET data source controls also support an asynchronous data retrieval pattern for data operations. ASP.NET 版本2.0 提供的数据源控件都不是异步的, 但控件开发人员可以生成异步数据源控件。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. 对象支持异步数据检索方法。DataSourceView SelectThe DataSourceView object supports the Select method for asynchronous data retrieval. DataSourceViewSelectCallback委托通过数据绑定控件传递到数据源视图, 因此, 在异步处理完成并将数据传递到数据绑定控件时, 视图可以调用此委托。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.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅