Walter.BOM
WriteFileAsync(FileInfo,String,CancellationToken) Method
Walter.BOM Assembly > Walter.BOM Namespace > IControlledDiskIO Interface > WriteFileAsync Method : WriteFileAsync(FileInfo,String,CancellationToken) Method
the file to create or replace
the text to write to it
Propagates notification that operations should be canceled.
Write the content to disk
Syntax

Parameters

file
the file to create or replace
text
the text to write to it
cancellationToken
Propagates notification that 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