ReadByte Method

Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: (1.15.1003.9505)

public override int ReadByte()

Return Value

The unsigned byte cast to an Int32, or -1 if at the end of the stream.

System..::..NotSupportedException If the stream does not support reading.
System..::..ObjectDisposedException Methods were called after the stream was closed.
Microsoft.Health..::..HealthServiceException If there was a failure reading the data from HealthVault.