PipeStream.ReadByte Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a byte from a pipe.
public:
override int ReadByte();
public override int ReadByte ();
[System.Security.SecurityCritical]
public override int ReadByte ();
override this.ReadByte : unit -> int
[<System.Security.SecurityCritical>]
override this.ReadByte : unit -> int
Public Overrides Function ReadByte () As Integer
Returns
The byte, cast to Int32, or -1 indicates the end of the stream (the pipe has been closed).
- Attributes
Exceptions
The pipe is closed.
The pipe does not support read operations.
The pipe is disconnected, waiting to connect, or the handle has not been set.
Any I/O error occurred.
Remarks
Use the CanRead property to determine whether the current PipeStream object supports read operations.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om