C# Class WebApplications.Utilities.IO.OverlappingPipeStream

Inheritance: IDisposable
Afficher le fichier Open project: webappsuk/CoreLibraries

Protected Properties

Свойство Type Description
Stream System.IO.Pipes.PipeStream

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

OverlappingPipeStream() public méthode

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

Property Details

Stream protected_oe property

The underlaying stream.
protected PipeStream,System.IO.Pipes Stream
Résultat System.IO.Pipes.PipeStream