Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
FlushAsync ( ) : System.Threading.Tasks.Task |
Flush the write buffers to the stream.
|
|
GetInnerStream ( ) : Stream |
Returns the inner stream.
|
|
NetworkTextStream ( Stream stream ) : System |
Constructor.
|
|
NetworkTextStream ( |
Constructor.
|
|
ReadLineAsync ( ) : Task |
Reads a line of characters asynchronously from the current stream and returns the data as a string.
|
|
WriteLineAsync ( string text ) : System.Threading.Tasks.Task |
Writes a line of characters asynchronously to the current stream.
|
public FlushAsync ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public NetworkTextStream ( Stream stream ) : System | ||
stream | Stream | The stream for reading and writing. |
Résultat | System |
public NetworkTextStream ( |
||
client | The client for reading and writing. | |
Résultat | System |
public WriteLineAsync ( string text ) : System.Threading.Tasks.Task | ||
text | string | The text to write to the stream. |
Résultat | System.Threading.Tasks.Task |