System.IO.Pipes.PipeStream: Method Members

The methods of System.IO.Pipes.PipeStream are listed below. For a list of all members, see the PipeStream Members list.

See Also: Inherited members from System.IO.Stream

Public Methods

override
BeginRead(byte[], int, int, AsyncCallback, object) : IAsyncResult

Begins an asynchronous read operation.

override
BeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResult

Begins an asynchronous write operation.

override
EndRead(IAsyncResult) : int

Ends a pending asynchronous read request.

override
EndWrite(IAsyncResult)

Ends a pending asynchronous write request.

override
Flush()

Clears the buffer for the current stream and causes any buffered data to be written to the underlying device.

GetAccessControl() : PipeSecurity

Gets a System.IO.Pipes.PipeSecurity object that encapsulates the access control list (ACL) entries for the pipe described by the current System.IO.Pipes.PipeStream object.

override
Read(byte[], int, int) : int

Reads a block of bytes from a stream and writes the data to a specified buffer.

override
ReadByte() : int

Reads a byte from a pipe.

override
Seek(long, System.IO.SeekOrigin) : long

Sets the current position of the current stream to the specified value.

SetAccessControl(PipeSecurity)

Applies the access control list (ACL) entries specified by a System.IO.Pipes.PipeSecurity object to the pipe specified by the current System.IO.Pipes.PipeStream object.

override
SetLength(long)

Sets the length of the current stream to the specified value.

WaitForPipeDrain()

Waits for the other end of the pipe to read all sent bytes.

override
Write(byte[], int, int)

Writes a block of bytes to the current stream using data from a buffer.

override
WriteByte(byte)

Writes a byte to the current stream.

Protected Methods

CheckPipePropertyOperations()

Verifies that the pipe is in a proper state for getting or setting properties.

CheckReadOperations()

Verifies that the pipe is in a connected state for read operations.

CheckWriteOperations()

Verifies that the pipe is in a connected state for write operations.

override
Dispose(bool)

Releases the unmanaged resources used by the System.IO.Pipes.PipeStream class and optionally releases the managed resources.

InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle, bool, bool)

Initializes a System.IO.Pipes.PipeStream object from the specified Microsoft.Win32.SafeHandles.SafePipeHandle object.