Click or drag to resize
MimeKit

MimeReaderOnMultipartPreambleBegin Method

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

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected virtual void OnMultipartPreambleBegin(
	long beginOffset,
	int beginLineNumber,
	CancellationToken cancellationToken
)

Parameters

beginOffset  Int64
The offset into the stream where the preamble began.
beginLineNumber  Int32
The line number where the preamble began.
cancellationToken  CancellationToken
The cancellation token.
Remarks

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

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

See Also