MessageConverterHelperToByteArrayAsync - метод |
Пространство имён:
Tessa.UI.Controls.CustomRichTextBoxCtrl.CustomRichTextBox
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public static Task<byte[]> ToByteArrayAsync(
Stream stream,
CancellationToken cancellationToken = default
)
Public Shared Function ToByteArrayAsync (
stream As Stream,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Byte())
public:
static Task<array<unsigned char>^>^ ToByteArrayAsync(
Stream^ stream,
CancellationToken cancellationToken = CancellationToken()
)
static member ToByteArrayAsync :
stream : Stream *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<byte[]>
Параметры
- stream
- Тип: System.IOStream
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskByteСм. также