Waits for the pending asynchronous read to complete.
| C# | Visual Basic | Visual C++ | J# |
T EndRead<T>( IAsyncResult<T> asyncResult )
Function EndRead(Of T) ( _ asyncResult As IAsyncResult(Of T) _ ) As T
generic<typename T> T EndRead( IAsyncResult<T>^ asyncResult )
- T
- Type of object to read.
- asyncResult (IAsyncResult<(Of <(<'T>)>)>)
- The reference to the pending asynchornous request to wait for.
A copy of the object read from the space (null 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. |
| SqlQueryException | The query template is an illegal SqlQuery. |
