GigaSpaces XAP.NET Documentation
UpdateMultiple<(Of <(T>)>) Method (objects, tx, leaseTimes, modifiers)
Class LibraryGigaSpaces.CoreISpaceProxyUpdateMultiple<(Of <(T>)>)(array<T>[]()[], ITransaction, array<Int64>[]()[], UpdateModifiers)
Same as a single update but for a group of entities sharing the same transaction (if any).
Declaration Syntax
C#Visual BasicVisual C++J#
[ObsoleteAttribute("Use WriteMultiple() with the appropriate WriteModifiers instead.")]
T[] UpdateMultiple<T>(
	T[] objects,
	ITransaction tx,
	long[] leaseTimes,
	UpdateModifiers modifiers
<ObsoleteAttribute("Use WriteMultiple() with the appropriate WriteModifiers instead.")> _
Function UpdateMultiple(Of T) ( _
	objects As T(), _
	tx As ITransaction, _
	leaseTimes As Long(), _
	modifiers As UpdateModifiers _
) As T()
[ObsoleteAttribute(L"Use WriteMultiple() with the appropriate WriteModifiers instead.")]
generic<typename T>
array<T>^ UpdateMultiple(
	array<T>^ objects, 
	ITransaction^ tx, 
	array<long long>^ leaseTimes, 
	UpdateModifiers modifiers
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
Type of object to update.
objects (array< T >[]()[])
Objects with a SpaceID defined.
tx (ITransaction)
The transaction (if any) under which to work.
leaseTimes (array< Int64 >[]()[])
The requested lease times of the updated enries, in milliseconds; 0 means retain the original lease.
modifiers (UpdateModifiers)
Operation modifiers.
Return Value
Previous value on successful update, null if object was written (not updated).
EntryNotInSpaceExceptionAn entry with matching ID does not exist in space.
OperationTimeoutExceptionTimeout expired after waiting for a transactional proper matching entry (when using UpdateModifiers.UpdateOrWrite).
UnusableEntryExceptionA serialized field of the object being read cannot be deserialized.
TransactionExceptionTransaction error occured.
UpdateMultiplePartialFailureExceptionSome of the entries failed to update (see exception's properties for more data).
EntryVersionConflictExceptionOperation is rejected as a result of optimistic locking version conflict.
InactiveSpaceExceptionThe space is in backup mode and therefore is not active.

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