CommandExecuteAsync(String, CancellationToken) - метод
Executes a command using standard IO streams and specified arguments.
Пространство имён: Tessa.Platform.CommandLineСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask ExecuteAsync(
string args,
CancellationToken cancellationToken = default
)
Public Function ExecuteAsync (
args As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
ValueTask ExecuteAsync(
String^ args,
CancellationToken cancellationToken = CancellationToken()
)
member ExecuteAsync :
args : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- args String
- Command-line arguments to be passed to the command.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskAsync task.