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


    EndExecuteCountQuery Method (AsyncSqlDataSourceProvider)
    Ends the asynchronous operation of querying the underlying data source for its count.
    Syntax
    'Declaration
     
    Protected Overrides Function EndExecuteCountQuery( _
       ByVal asyncResult As IAsyncResult _
    ) As CountQueryResult
     
    'Usage
     
    Dim instance As AsyncSqlDataSourceProvider
    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.
    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