CryptoStream.FlushFinalBlockAsync(CancellationToken) メソッド
定義
基になるデータ ソースまたはリポジトリをバッファーの現在の状態に非同期的に更新し、その後でバッファーをクリアします。Asynchronously updates the underlying data source or repository with the current state of the buffer, then clears the buffer.
public System.Threading.Tasks.ValueTask FlushFinalBlockAsync (System.Threading.CancellationToken cancellationToken = default);
member this.FlushFinalBlockAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Function FlushFinalBlockAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask
パラメーター
- cancellationToken
- CancellationToken
キャンセル要求を監視するためのトークン。The token to monitor for cancellation requests. 既定値は None です。The default value is None.
戻り値
非同期のフラッシュ操作を表すタスク。A task that represents the asynchronous flush operation.