Xceed DataGrid for Silverlight Documentation
EndExecuteCountQuery Method (WcfDataServicesDataSourceProvider)


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 Overrides NotOverridable Function EndExecuteCountQuery( _
   ByVal asyncResult As IAsyncResult _
) As CountQueryResult
'Usage
 
Dim instance As WcfDataServicesDataSourceProvider
Dim asyncResult As IAsyncResult
Dim value As CountQueryResult
 
value = instance.EndExecuteCountQuery(asyncResult)
protected override 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

WcfDataServicesDataSourceProvider Class
WcfDataServicesDataSourceProvider Members
Base Implementation in EndExecuteCountQuery
WcfDataServicesDataSourceProvider.BeginExecuteCountQuery Method

Send Feedback