GigaSpaces XAP.NET Documentation
Receive Method (template, proxy, tx, receiveTimeout)
Class LibraryGigaSpaces.XAP.Events.Polling.ReceiveIReceiveOperationHandler<(Of <(TData>)>)Receive(IQuery<(Of <(TData>)>), ISpaceProxy, ITransaction, Int64)
Performs the actual receive operation. Return value is a single data object.
Declaration Syntax
C#Visual BasicVisual C++J#
TData Receive(
	IQuery<TData> template,
	ISpaceProxy proxy,
	ITransaction tx,
	long receiveTimeout
)
Function Receive ( _
	template As IQuery(Of TData), _
	proxy As ISpaceProxy, _
	tx As ITransaction, _
	receiveTimeout As Long _
) As TData
TData Receive(
	IQuery<TData>^ template, 
	ISpaceProxy^ proxy, 
	ITransaction^ tx, 
	long long receiveTimeout
)
TData Receive(
	IQuery<TData> template,
	ISpaceProxy proxy,
	ITransaction tx,
	long receiveTimeout
)
Parameters
template (IQuery<(Of <(TData>)>))
The template for the receive operation.
proxy (ISpaceProxy)
The proxy to execute the operation on.
tx (ITransaction)
Operation's transaction context, can be null.
receiveTimeout (Int64)
Operation's receive timeout
Return Value
An object that will be passed to the event listener, null result doesn't trigger an event.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 10.2.0.0 (10.2.1.14000)