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

BeginReadBoolean() public method

public BeginReadBoolean ( long offset, AsyncCallback callback, object state ) : IAsyncResult
offset long
callback AsyncCallback
state object
return IAsyncResult
        public IAsyncResult BeginReadBoolean(long offset, AsyncCallback callback, object state)
        {
            this.SetPosition(offset);
            return AsyncMachine.BeginAsyncMachine(FillBuffer, 1, callback, state);
        }

Usage Example

 private IAsyncResult BeginReadSavedState(VhdPropertyAttribute attribute, AsyncCallback callback, object state)
 {
     return(dataReader.BeginReadBoolean(this.GetFooterOffset() + attribute.Offset, callback, state));
 }