GigaSpaces XAP.NET Documentation
Count Method (tx)
Class LibraryGigaSpaces.CoreIReadOnlySpaceProxyCount(ITransaction)
Count any object from the space, visible under the specified transaction.
Declaration Syntax
C#Visual BasicVisual C++J#
int Count(
	ITransaction tx
)
Function Count ( _
	tx As ITransaction _
) As Integer
int Count(
	ITransaction^ tx
)
int Count(
	ITransaction tx
)
Parameters
tx (ITransaction)
The transaction (if any) under which to work.
Return Value
Number of matching entries.
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: 9.6.2.9900 (9.6.2.9900)