Microsoft.WindowsAzure.Commands.Tools.Vhd.Model.Persistence.VhdDataReader.BeginReadBytes C# (CSharp) Method

BeginReadBytes() public method

public BeginReadBytes ( int count, AsyncCallback callback, object state ) : IAsyncResult
count int
callback AsyncCallback
state object
return IAsyncResult
        public IAsyncResult BeginReadBytes(int count, AsyncCallback callback, object state)
        {
            return AsyncMachine<byte[]>.BeginAsyncMachine(ReadBytesAsync, this.reader.BaseStream.Position, count, callback, state);
        }

Same methods

VhdDataReader::BeginReadBytes ( long offset, int count, AsyncCallback callback, object state ) : IAsyncResult

Usage Example

 private IAsyncResult BeginReadRawData(VhdPropertyAttribute attribute, AsyncCallback callback, object state)
 {
     return(dataReader.BeginReadBytes(headerOffset + attribute.Offset, attribute.Size, callback, state));
 }
All Usage Examples Of Microsoft.WindowsAzure.Commands.Tools.Vhd.Model.Persistence.VhdDataReader::BeginReadBytes