Enum EnumerationState
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol.Transports
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
Reports the state of the enumerator
public enum EnumerationState
- Extension Methods
Fields
Aborted = 5
The enumerator has aborted operation. No subsequent events will be raised.
Created = 0
This is the initial state of a enumerator. During this state clients can register event handlers.
EnumerationCompleted = 2
The enumerator has completed enumerating the initial collection. Items can still be added, updated or removed from the collection.
Started = 1
The enumerator transitions to the Started state once Start is called. The enumerator is enumerating the initial collection. Note that during this enumeration phase it is possible to receive Updated and Removed notifications but only to items that have already been Added.
Stopped = 4
The client has called Stop and the enumerator has completed all outstanding events. No further events will be raised.
Stopping = 3
The client has called Stop and the enumerator is still in the process of stopping. Events may still be raised.