Muokkaa

Jaa


File.ReadAllBytesAsync(String, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<byte[]> ReadAllBytesAsync (string path, System.Threading.CancellationToken cancellationToken = default);
static member ReadAllBytesAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Shared Function ReadAllBytesAsync (path As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

Parameters

path
String
cancellationToken
CancellationToken

Returns

Task<Byte[]>

Applies to