ISessionInputBufferExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This class is obsoleted in this android platform
Provides task-based extension methods for ISessionInputBuffer.
[System.Obsolete("This class is obsoleted in this android platform")]
public static class ISessionInputBufferExtensions
[<System.Obsolete("This class is obsoleted in this android platform")>]
type ISessionInputBufferExtensions = class
- Inheritance
-
ISessionInputBufferExtensions
- Attributes
Remarks
The .NET binding generator uses Task to run each corresponding blocking method on a thread-pool thread. These are not native asynchronous I/O operations, and the extension methods have no cancellation parameter. Await each task to observe completion or an exception from the blocking method.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Methods
| Name | Description |
|---|---|
| ReadAsync(ISessionInputBuffer, Byte[], Int32, Int32) |
Runs a blocking read into the specified part of a byte array on a thread-pool thread. |
| ReadAsync(ISessionInputBuffer, Byte[]) |
Runs a blocking read into a byte array on a thread-pool thread. |
| ReadAsync(ISessionInputBuffer) |
Runs a blocking single-byte read on a thread-pool thread. |
| ReadLineAsync(ISessionInputBuffer, CharArrayBuffer) |
Runs a blocking line read into a character buffer on a thread-pool thread. |
| ReadLineAsync(ISessionInputBuffer) |
Runs a blocking line read on a thread-pool thread. |