DockerfileStage.WriteStatementAsync(StreamWriter, CancellationToken) Method

Definition

Writes the statement to the specified writer.

public override System.Threading.Tasks.Task WriteStatementAsync(System.IO.StreamWriter writer, System.Threading.CancellationToken cancellationToken = default);
override this.WriteStatementAsync : System.IO.StreamWriter * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function WriteStatementAsync (writer As StreamWriter, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

writer
StreamWriter

The writer to write to.

cancellationToken
CancellationToken

A cancellation token.

Returns

A task representing the asynchronous write operation.

Applies to