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. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기