PDComm.Secs1IoStatus
Enum
The result status that a Secs1Read or Secs1Write callback reports to the endpoint.
public enum Secs1IoStatus : uintA read that returns Secs1IoStatus.Ok with a count of 0, or Secs1IoStatus.Closed, means end of stream; a write that returns Secs1IoStatus.Ok with a count of 0 counts as Secs1IoStatus.WriteZero. Secs1IoStatus.WouldBlock and Secs1IoStatus.Interrupted keep the progress made so far and are retried on a later poll. Every other status faults the line. For any status other than Secs1IoStatus.Ok the count is ignored.
Members
Aborted
Enumerator
The connection was aborted.
Aborted = 8AddressInUse
Enumerator
The address is already in use.
AddressInUse = 10AddressUnavailable
Enumerator
The address is not available.
AddressUnavailable = 11BrokenPipe
Enumerator
The peer closed the stream while writing.
BrokenPipe = 12Closed
Enumerator
The serial port or stream is closed.
Closed = 3Interrupted
Enumerator
The operation was interrupted; try again on a later poll.
Interrupted = 2InvalidData
Enumerator
Invalid data was encountered.
InvalidData = 15InvalidInput
Enumerator
An input parameter was invalid.
InvalidInput = 14NotConnected
Enumerator
The stream is not connected.
NotConnected = 9NotFound
Enumerator
The device was not found.
NotFound = 4Ok
Enumerator
The operation transferred Secs1IoResult.Count bytes.
Ok = 0Other
Enumerator
Any other failure; also reported when a callback throws.
Other = 16Permission
Enumerator
Access was denied.
Permission = 5Refused
Enumerator
The connection was refused.
Refused = 6Reset
Enumerator
The connection was reset.
Reset = 7TimedOut
Enumerator
The operation timed out.
TimedOut = 13WouldBlock
Enumerator
No bytes are available now; try again on a later poll.
WouldBlock = 1WriteZero
Enumerator
A write accepted zero bytes.
WriteZero = 17