Task WriteFileAsync( FileInfo file, string text, CancellationToken cancellationToken )
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