File.ReadAllTextAsync File.ReadAllTextAsync Method

Definition

Überlädt

ReadAllTextAsync(String, CancellationToken) ReadAllTextAsync(String, CancellationToken)
ReadAllTextAsync(String, Encoding, CancellationToken) ReadAllTextAsync(String, Encoding, CancellationToken)

ReadAllTextAsync(String, CancellationToken) ReadAllTextAsync(String, CancellationToken)

public static System.Threading.Tasks.Task<string> ReadAllTextAsync (string path, System.Threading.CancellationToken cancellationToken = null);
static member ReadAllTextAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameter

path
String String

Gibt zurück

ReadAllTextAsync(String, Encoding, CancellationToken) ReadAllTextAsync(String, Encoding, CancellationToken)

public static System.Threading.Tasks.Task<string> ReadAllTextAsync (string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = null);
static member ReadAllTextAsync : string * System.Text.Encoding * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameter

path
String String
encoding
Encoding Encoding

Gibt zurück

Gilt für: