|  | Mime | 
 Syntax
Syntaxpublic Task WriteToAsync( Stream stream, CancellationToken cancellationToken = default )
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | stream is . | 
| OperationCanceledException | The operation was canceled via the cancellation token. | 
| IOException | An I/O error occurred. | 
 Remarks
Remarks See Also
See Also