Read an array of matching objects from the space.
Matching is done as in read with no timeout.


- T
- Type of object to read.

- template (T)
- The template used for matching.
- maxItems (Int32)
- Maximum number of objects to return.

An array of objects read from the space (empty array if no match was found).

Exception | Condition |
---|---|
UnusableEntryException | A serialized field of the object being read cannot be deserialized. |
TransactionException | Transaction error occured. |
InactiveSpaceException | The space is in backup mode and therefore is not active. |