BackupDataInput.ReadNextHeaderAsync 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.
Runs ReadNextHeader() on a thread pool thread.
public System.Threading.Tasks.Task<bool> ReadNextHeaderAsync();
member this.ReadNextHeaderAsync : unit -> System.Threading.Tasks.Task<bool>
Returns
A task whose result is true if an entity is ready to read, or false if the restore stream has been fully read.
Remarks
This .NET wrapper uses Task.Run to call the synchronous method. Await the task before inspecting Key or DataSize, or starting another operation on this input.
.NET task wrapper implementation.
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.