Asynchronously queries the cache for objects that have matching metadata IndexValues as
specified via filter.
Namespace: Soss.Client
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
public Task<ICollection> QueryAsync( IFilter filter, CancellationToken cancellationToken = null )
Parameters
- filter
- Type: Soss.ClientIFilter
an IFilter containing query criteria. An instance of FilterCollection is suitable for this parameter. - cancellationToken (Optional)
- Type: System.ThreadingCancellationToken
An optional CancellationToken that can be used to cancel the asynchronous operation.
Return Value
Type: TaskICollectionIEnumerable collection of matching CachedObjectId identifiers.
Exceptions
Exception | Condition |
---|---|
StateServerException | Thrown if ScaleOut StateServer is unavailable or has experienced an internal error. |
See Also