/
DataSourceViewSelectCallback.xml
36 lines (34 loc) · 2.76 KB
/
DataSourceViewSelectCallback.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<Type Name="DataSourceViewSelectCallback" FullName="System.Web.UI.DataSourceViewSelectCallback">
<TypeSignature Language="C#" Value="public delegate void DataSourceViewSelectCallback(IEnumerable data);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed DataSourceViewSelectCallback extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.DataSourceViewSelectCallback" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub DataSourceViewSelectCallback(data As IEnumerable)" />
<TypeSignature Language="F#" Value="type DataSourceViewSelectCallback = delegate of IEnumerable -> unit" />
<TypeSignature Language="C++ CLI" Value="public delegate void DataSourceViewSelectCallback(IEnumerable ^ data);" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="data" Type="System.Collections.IEnumerable" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="data">An <see cref="T:System.Collections.IEnumerable" /> collection of data records that the <see cref="M:System.Web.UI.DataSourceView.Select(System.Web.UI.DataSourceSelectArguments,System.Web.UI.DataSourceViewSelectCallback)" /> and <see cref="M:System.Web.UI.DataSourceView.ExecuteSelect(System.Web.UI.DataSourceSelectArguments)" /> methods return.</param>
<summary>Represents the asynchronous callback method that a data-bound control supplies to a data source view for asynchronous data retrieval.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## 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 <xref:System.Web.UI.DataSourceView> object supports the <xref:System.Web.UI.DataSourceView.Select%2A> method for asynchronous data retrieval. The <xref:System.Web.UI.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.
]]></format>
</remarks>
<altmember cref="M:System.Web.UI.DataSourceView.Select(System.Web.UI.DataSourceSelectArguments,System.Web.UI.DataSourceViewSelectCallback)" />
<altmember cref="T:System.Web.UI.DataSourceViewOperationCallback" />
</Docs>
</Type>