TnefPropertyReaderReadNextValueAsync Method

Asynchronously advance to the next value of the current property.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Task<bool> ReadNextValueAsync(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

TaskBoolean
if the reader was advanced to the next value; otherwise, .

Remarks

Advances to the next value of the current (multi-valued) property. Any part of the current value that has not been read is skipped.

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.

See Also