Click or drag to resize
MimeKit

ExperimentalMimeParserOnMimePartContentEnd Method

Called when the end of a MIME part's content is encountered in the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected override void OnMimePartContentEnd(
	long beginOffset,
	int beginLineNumber,
	long endOffset,
	int lines,
	NewLineFormat? newLineFormat,
	CancellationToken cancellationToken
)

Parameters

beginOffset  Int64
The offset into the stream where the MIME part content began.
beginLineNumber  Int32
The line number where the MIME part content began.
endOffset  Int64
The offset into the stream where the MIME part content ended.
lines  Int32
The length of the MIME part content as measured in lines.
newLineFormat  NullableNewLineFormat
The new-line format of the content, if known.
cancellationToken  CancellationToken
The cancellation token.
Remarks

Called when the end of a MIME part's content is encountered in the stream.

This method is always paired with a corresponding call to OnMimePartContentBegin(Int64, Int32, CancellationToken).

See Also