Click or drag to resize
MimeKit

IMimeParserParseEntity Method

Parse an entity from the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
MimeEntity ParseEntity(
	CancellationToken cancellationToken = default
)

Parameters

cancellationToken  CancellationToken  (Optional)
The cancellation token.

Return Value

MimeEntity
The parsed entity.
Exceptions
ExceptionCondition
OperationCanceledException The operation was canceled via the cancellation token.
FormatException There was an error parsing the entity.
IOException An I/O error occurred.
Remarks
Parses an entity from the stream.
See Also