MockAdlsInputStream.ReadAsync(Byte[], Int32, Int32, CancellationToken) Method
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.
Reads a sequence of bytes from the current underlying stream and advances the position within the stream by the number of bytes read Asynchronous operation.
public override System.Threading.Tasks.Task<int> ReadAsync (byte[] output, int offset, int count, System.Threading.CancellationToken cancelToken);
override this.ReadAsync : byte[] * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Overrides Function ReadAsync (output As Byte(), offset As Integer, count As Integer, cancelToken As CancellationToken) As Task(Of Integer)
Parameters
- output
- Byte[]
Output byte array
- offset
- Int32
offset at which data should be put in the output array
- count
- Int32
Count of the bytes read
- cancelToken
- CancellationToken
Cancellation Token
Returns
Number of bytes read
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET