GigaSpaces XAP.NET Documentation
Clear Method (template, tx)
Class LibraryGigaSpaces.CoreISpaceProxyClear(Object, ITransaction)
Removes all matching entries under the specified transaction from the space.
Declaration Syntax
C#Visual BasicVisual C++J#
void Clear(
	Object template,
	ITransaction tx
)
Sub Clear ( _
	template As Object, _
	tx As ITransaction _
)
void Clear(
	Object^ template, 
	ITransaction^ tx
)
void Clear(
	Object template,
	ITransaction tx
)
Parameters
template (Object)
The template/query used for matching.
tx (ITransaction)
The transaction (if any) under which to work.
Exceptions
ExceptionCondition
UnusableEntryExceptionA serialized field of the object being read cannot be deserialized.
TransactionExceptionTransaction error occured.
InactiveSpaceExceptionThe space is in backup mode and therefore is not active.

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