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
Task<int> GetCardinalAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Int32> |
GetCardinalAsync(AsyncHandle)
Retrieves the number of distinct values in a field.
Declaration
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> |
GetCardinalAsync<T>(AsyncHandle, Func<Response, T>)
Retrieves the number of distinct values in a field.
Declaration
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 |