IReplOutput.WriteAsync(String, OutputKind, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write the message to the output in the designated kind. Does not automatically include a newline. It's expected that all kinds of output will be written to the same stream, but just formatted / colorized differently.
public System.Threading.Tasks.Task WriteAsync(string message, Microsoft.PowerFx.OutputKind kind = Microsoft.PowerFx.OutputKind.Repl, System.Threading.CancellationToken cancel = default);
abstract member WriteAsync : string * Microsoft.PowerFx.OutputKind * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function WriteAsync (message As String, Optional kind As OutputKind = Microsoft.PowerFx.OutputKind.Repl, Optional cancel As CancellationToken = Nothing) As Task
Parameters
- message
- String
- kind
- OutputKind
- cancel
- CancellationToken