Waits for the pending asynchronous read to complete.
Declaration Syntax
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 )
Generic Template Parameters
- T
- Type of object to read.
Parameters
- asyncResult (IAsyncResult<(Of <(T>)>))
- The reference to the pending asynchornous request to wait for.
Return Value
A copy of the object read from the space (null if no match was found).
Exceptions
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. |