Provides various extension methods for FlushResult and ReadResult types.
InheritanceResultExtensions
Namespace: DotNext.IO.Pipelines Assembly: DotNext.IO.dll Syntaxpublic static class ResultExtensions
Methods | Edit this page View Source ThrowIfCancellationRequested(in FlushResult, CancellationToken)
Throws OperationCanceledException if I/O operation is canceled.
Declarationpublic static void ThrowIfCancellationRequested(this in FlushResult result, CancellationToken token = default)
Parameters Type Name Description FlushResult result
The result of I/O operation to check.
CancellationToken tokenThe token that may be a source of cancellation.
ExceptionsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4