Walter.BOM
WriteFileAsync(FileInfo,Byte[],CancellationToken) Method
Walter.BOM Assembly > Walter.BOM Namespace > IControlledDiskIO Interface > WriteFileAsync Method : WriteFileAsync(FileInfo,Byte[],CancellationToken) Method
the file to create or replace
the bytes to write to it
Propagates notification if a operations should be canceled.
Write the content to disk
Syntax

Parameters

file
the file to create or replace
bytes
the bytes to write to it
cancellationToken
Propagates notification if a operations should be canceled.

Return Value

Task
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IControlledDiskIO Interface
IControlledDiskIO Members
Overload List