public RealtimeCursor SearchAndSubscribe( QueryFilter queryFilter, bool useRecyclingCursor )
Public Function SearchAndSubscribe( _ ByVal queryFilter As QueryFilter, _ ByVal useRecyclingCursor As Boolean _ ) As RealtimeCursor
Parameters
- queryFilter
- A null query filter will search all rows and all rows that become available will be retrieved.
- useRecyclingCursor
- If set to true, all the entries in ArcGIS.Core.Data.Realtime.RealtimeCursor will reference the most current row returned by ArcGIS.Core.Data.Realtime.RealtimeCursor.Current. To ensure all the entries in ArcGIS.Core.Data.Realtime.RealtimeCursor remain unique, set useRecyclingCursor to false. The default is true.
Return Value
A ArcGIS.Core.Data.Realtime.RealtimeCursor that encapsulates the retrieved rows, as well as provides facilities to wait for new row events.