GigaSpaces XAP.NET Documentation
WriteMultiple<(Of <(T>)>) Method (objects, tx, leasesTime, modifiers)
Class LibraryGigaSpaces.CoreISpaceProxyWriteMultiple<(Of <(T>)>)(array<T>[]()[], ITransaction, array<Int64>[]()[], WriteModifiers)
Same as a single write but for a group of entities sharing the same transaction (if any).
Declaration Syntax
C#Visual BasicVisual C++J#
ILeaseContext<T>[] WriteMultiple<T>(
	T[] objects,
	ITransaction tx,
	long[] leasesTime,
	WriteModifiers modifiers
)
Function WriteMultiple(Of T) ( _
	objects As T(), _
	tx As ITransaction, _
	leasesTime As Long(), _
	modifiers As WriteModifiers _
) As ILeaseContext(Of T)()
generic<typename T>
array<ILeaseContext<T>^>^ WriteMultiple(
	array<T>^ objects, 
	ITransaction^ tx, 
	array<long long>^ leasesTime, 
	WriteModifiers modifiers
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
Type of object to write.
Parameters
objects (array< T >[]()[])
The objects to write.
tx (ITransaction)
The transaction (if any) under which to work.
leasesTime (array< Int64 >[]()[])
The requested lease time per object, in milliseconds.
modifiers (WriteModifiers)
Operation modifiers.
Return Value
An array of leases on successful write.
Exceptions
ExceptionCondition
WriteMultipleExceptionThe operation had a failure.

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