Метод | Описание | |
---|---|---|
CopyToAsync ( System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task | ||
EndRead ( IAsyncResult asyncResult ) : int | ||
EndWrite ( IAsyncResult asyncResult ) : void | ||
FlushAsync ( System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task | ||
ProgressStream ( System.IO.Stream underlyingStream, IProgress |
Initializes a new instance of the ProgressStream class from the specified Stream and IProgress{T} handler.
|
|
ProgressStream ( System.IO.Stream underlyingStream, IProgress |
Initializes a new instance of the ProgressStream class from the specified Stream and IProgress{T} handler.
|
|
Read ( byte buffer, int offset, int count ) : int | ||
ReadAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : Task |
||
ReadByte ( ) : int | ||
Seek ( long offset, System.IO.SeekOrigin origin ) : long | ||
Write ( byte buffer, int offset, int count ) : void | ||
WriteAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task | ||
WriteByte ( byte value ) : void |
public CopyToAsync ( System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task | ||
destination | System.IO.Stream | |
bufferSize | int | |
cancellationToken | System.Threading.CancellationToken | |
Результат | System.Threading.Tasks.Task |
public EndRead ( IAsyncResult asyncResult ) : int | ||
asyncResult | IAsyncResult | |
Результат | int |
public EndWrite ( IAsyncResult asyncResult ) : void | ||
asyncResult | IAsyncResult | |
Результат | void |
public FlushAsync ( System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task | ||
cancellationToken | System.Threading.CancellationToken | |
Результат | System.Threading.Tasks.Task |
public ProgressStream ( System.IO.Stream underlyingStream, IProgress |
||
underlyingStream | System.IO.Stream | The stream to wrap. |
progress | IProgress |
The handler to report progress updates to. |
Результат | System |
public ProgressStream ( System.IO.Stream underlyingStream, IProgress |
||
underlyingStream | System.IO.Stream | The stream to wrap. |
progress | IProgress |
The handler to report progress updates to. |
ownsStream | bool |
/// |
Результат | System |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
Результат | int |
public ReadAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : Task |
||
buffer | byte | |
offset | int | |
count | int | |
cancellationToken | System.Threading.CancellationToken | |
Результат | Task |
public Seek ( long offset, System.IO.SeekOrigin origin ) : long | ||
offset | long | |
origin | System.IO.SeekOrigin | |
Результат | long |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
Результат | void |
public WriteAsync ( byte buffer, int offset, int count, System.Threading.CancellationToken cancellationToken ) : System.Threading.Tasks.Task | ||
buffer | byte | |
offset | int | |
count | int | |
cancellationToken | System.Threading.CancellationToken | |
Результат | System.Threading.Tasks.Task |