Tnef Property ReaderRead Next Row Async Method
Asynchronously advance to the next row of a table.
Definition
Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the reader was advanced to the next row; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Task<bool> ReadNextRowAsync(
CancellationToken cancellationToken = default
)Parameters
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskBooleanif the reader was advanced to the next row; otherwise, .
Remarks
Advances to the next row of a RecipientTable attribute. Any properties of the current row that have not been read are skipped.
For attributes that do not contain a table, this method always returns .
Exceptions
| ObjectDisposedException | The TnefReader has been disposed. |
| InvalidOperationException | The TnefReader has been advanced to another attribute. |
| OperationCanceledException | The operation was canceled via the cancellation token. |
| IOException | An I/O error occurred. |