 | MimeReaderOnMessagePartEndAsync Method |
Called when the end of a message part is encountered in the stream.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 3.0.0
Syntaxprotected virtual Task OnMessagePartEndAsync(
ContentType contentType,
long beginOffset,
int beginLineNumber,
long headersEndOffset,
long endOffset,
int lines,
CancellationToken cancellationToken
)
Parameters
- contentType
- Type: MimeKitContentType
The parsed Content-Type header of the MIME part. - beginOffset
- Type: SystemInt64
The offset into the stream where the message part began. - beginLineNumber
- Type: SystemInt32
The line number where the message part began. - headersEndOffset
- Type: SystemInt64
The offset into the stream where the MIME part headers ended and the content began. - endOffset
- Type: SystemInt64
The offset into the stream where the MIME part ends. - lines
- Type: SystemInt32
The length of the MIME part as measured in lines. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskAn asynchronous task context.
Remarks
See Also