Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Data Namespace / AsyncDataSourceProvider Class / EndExecuteCountQuery Method
An IAsyncResult representing the result of the operation as returned by BeginExecuteCountQuery.


    EndExecuteCountQuery Method (AsyncDataSourceProvider)
    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)

    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