Xceed DataGrid for Silverlight Documentation
EndExecuteCountQuery Method (AsyncDataSourceProvider)


An IAsyncResult representing the result of the operation as returned by BeginExecuteCountQuery.
Ends the asynchronous operation of querying the underlying data source for its count.
Syntax
'Declaration
 
Protected MustOverride Function EndExecuteCountQuery( _
   ByVal asyncResult As IAsyncResult _
) As CountQueryResult
'Usage
 
Dim instance As AsyncDataSourceProvider
Dim asyncResult As IAsyncResult
Dim value As CountQueryResult
 
value = instance.EndExecuteCountQuery(asyncResult)
protected abstract CountQueryResult EndExecuteCountQuery( 
   IAsyncResult asyncResult
)

Parameters

asyncResult
An IAsyncResult representing the result of the operation as returned by BeginExecuteCountQuery.

Return Value

A CountQueryResult containing the result of the query.
Remarks
This method will only be called if CanCount is true.
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

AsyncDataSourceProvider Class
AsyncDataSourceProvider Members

Send Feedback