public static Task ExecuteSingleAsync(
this Command command,
TextReader input,
TextWriter output
)
<ExtensionAttribute>
Public Shared Function ExecuteSingleAsync (
command As Command,
input As TextReader,
output As TextWriter
) As Task
public:
[ExtensionAttribute]
static Task^ ExecuteSingleAsync(
Command^ command,
TextReader^ input,
TextWriter^ output
)
[<ExtensionAttribute>]
static member ExecuteSingleAsync :
command : Command *
input : TextReader *
output : TextWriter -> Task
This method catches all exceptions of type CommandException and writes them to the standard error stream.
ArgumentNullException | command, input, or output is null. |