IndentedTextWriterWriteAsync(ReadOnlyMemoryChar, CancellationToken) - метод
Asynchronously writes a character memory region to the text stream.
Пространство имён: Tessa.Platform.IOСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public override Task WriteAsync(
ReadOnlyMemory<char> buffer,
CancellationToken cancellationToken = default
)
Public Overrides Function WriteAsync (
buffer As ReadOnlyMemory(Of Char),
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ WriteAsync(
ReadOnlyMemory<wchar_t> buffer,
CancellationToken cancellationToken = CancellationToken()
) override
abstract WriteAsync :
buffer : ReadOnlyMemory<char> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override WriteAsync :
buffer : ReadOnlyMemory<char> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- buffer ReadOnlyMemoryChar
- The character memory region to write to the text stream.
- cancellationToken CancellationToken (Optional)
- The token to monitor for cancellation requests. The default value is None.
TaskA task that represents the asynchronous write operation.