Header |
public void WriteTo( Stream stream, CancellationToken cancellationToken = default )
Exception | Condition |
---|---|
ArgumentNullException | stream is null. |
OperationCanceledException | The operation was canceled via the cancellation token. |
IOException | An I/O error occurred. |