GigaSpaces XAP.NET Documentation
UpdateMultiple<(Of <(T>)>) Method (objects, tx, leaseTimes)
Class LibraryGigaSpaces.CoreISpaceProxyUpdateMultiple<(Of <(T>)>)(array<T>[]()[], ITransaction, array<Int64>[]()[])
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
)
<ObsoleteAttribute("Use WriteMultiple() with the appropriate WriteModifiers instead.")> _
Function UpdateMultiple(Of T) ( _
	objects As T(), _
	tx As ITransaction, _
	leaseTimes As Long() _
) 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
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
Type of object to update.
Parameters
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.
Return Value
Previous value on successful update, null if object was written (not updated).
Exceptions
ExceptionCondition
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: 7.1.4.4750 (7.1.4.4750)