GigaSpaces XAP.NET Documentation
Update<(Of <(T>)>) Method (obj)
Class LibraryGigaSpaces.CoreISpaceProxyUpdate<(Of <(T>)>)(T)
Update an object with a SpaceID, blocking if locked under another transaction.
Declaration Syntax
C#Visual BasicVisual C++J#
[ObsoleteAttribute("Use Write() with the appropriate WriteModifiers instead.")]
T Update<T>(
	T obj
)
<ObsoleteAttribute("Use Write() with the appropriate WriteModifiers instead.")> _
Function Update(Of T) ( _
	obj As T _
) As T
[ObsoleteAttribute(L"Use Write() with the appropriate WriteModifiers instead.")]
generic<typename T>
T Update(
	T obj
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
T
Type of object to update.
Parameters
obj (T)
An object with a SpaceID defined.
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.
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)