Skip to main content Skip to complementary content

GetCardinalAsync Method

Overloads

GetCardinalAsync()

Retrieves the number of distinct values in a field.

GetCardinalAsync(AsyncHandle)

Retrieves the number of distinct values in a field.

GetCardinalAsync<T>(AsyncHandle, Func<Response, T>)

Retrieves the number of distinct values in a field.

GetCardinalAsync()

Retrieves the number of distinct values in a field.

Declaration

      public Task<int> GetCardinalAsync()
    

Returns

Type Description
System.Threading.Tasks.Task<System.Int32>

Implements

GetCardinalAsync(AsyncHandle)

Retrieves the number of distinct values in a field.

Declaration

      public Task<int> GetCardinalAsync(AsyncHandle asyncHandle)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

Returns

Type Description
System.Threading.Tasks.Task<System.Int32>

Implements

GetCardinalAsync<T>(AsyncHandle, Func<Response, T>)

Retrieves the number of distinct values in a field.

Declaration

      public Task<T> GetCardinalAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Implements

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!