Xceed Toolkit Plus for WPF v4.6 Documentation
EndExecuteCountQuery Method (WcfDataServicesDataSourceProvider)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data Namespace > WcfDataServicesDataSourceProvider Class : EndExecuteCountQuery Method
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 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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