C# Class WebApplications.Utilities.IO.OverlappingPipeStream

Inheritance: IDisposable
Mostrar archivo Open project: webappsuk/CoreLibraries

Protected Properties

Property Type Description
Stream System.IO.Pipes.PipeStream

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

OverlappingPipeStream ( [ stream, int bufferSize ) : System

Initializes a new instance of the OverlappingPipeStream class.

Private Methods

Method Description
CancelIoEx ( SafePipeHandle hFile, NativeOverlapped &lpOverlapped ) : bool
ReadAsync ( CancellationToken token = default(CancellationToken) ) : Task
ReadFile ( SafePipeHandle hFile, [ lpBuffer, uint nNumberOfBytesToRead, uint &lpNumberOfBytesRead, NativeOverlapped &lpOverlapped ) : bool
WriteAsync ( [ data, CancellationToken token = default(CancellationToken) ) : Task

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

OverlappingPipeStream() public method

Initializes a new instance of the OverlappingPipeStream class.
public OverlappingPipeStream ( [ stream, int bufferSize ) : System
stream [ The stream.
bufferSize int Size of the buffer.
return System

Property Details

Stream protected_oe property

The underlaying stream.
protected PipeStream,System.IO.Pipes Stream
return System.IO.Pipes.PipeStream