Click or drag to resize
MimeKit

MimeReaderOnMultipartPreambleEndAsync Method

Called when the end of the preamble of a multipart is encountered in the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected virtual Task OnMultipartPreambleEndAsync(
	long beginOffset,
	int beginLineNumber,
	long endOffset,
	int lines,
	CancellationToken cancellationToken
)

Parameters

beginOffset  Int64
The offset into the stream where the multipart preamble began.
beginLineNumber  Int32
The line number where the multipart preamble began.
endOffset  Int64
The offset into the stream where the multipart preamble ended.
lines  Int32
The length of the multipart preamble as measured in lines.
cancellationToken  CancellationToken
The cancellation token.

Return Value

Task
An asynchronous task context.
Remarks

Called when the end of the preamble of a multipart is encountered in the stream.

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

See Also