GigaSpaces XAP.NET Documentation
EndTake<(Of <(T>)>) Method (asyncResult)
Class LibraryGigaSpaces.CoreISpaceProxyEndTake<(Of <(T>)>)(IAsyncResult<(Of <(T>)>))
Waits for the pending asynchronous take to complete.
Declaration Syntax
C#Visual BasicVisual C++J#
T EndTake<T>(
	IAsyncResult<T> asyncResult
)
Function EndTake(Of T) ( _
	asyncResult As IAsyncResult(Of T) _
) As T
generic<typename T>
T EndTake(
	IAsyncResult<T>^ asyncResult
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
Type of object to take.
Parameters
asyncResult (IAsyncResult<(Of <(T>)>))
The reference to the pending asynchornous request to wait for.
Return Value
A copy of the object taken from the space (null if no match was found).
Exceptions
ExceptionCondition
UnusableEntryExceptionA serialized field of the object being read cannot be deserialized.
TransactionExceptionTransaction error occured.
InactiveSpaceExceptionThe space is in backup mode and therefore is not active.
EntryVersionConflictExceptionOperation is rejected as a result of optimistic locking version conflict.
SqlQueryExceptionThe query template is an illegal SqlQuery.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.2.0.0 (12.2.0.18000)