Click or drag to resize
MimeKit

MimeReaderOnMimeMessageBegin Method

Called when the beginning of a message is encountered in the stream.

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

Parameters

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

Called when the beginning of a message is encountered in the stream.

This method is always paired with a corresponding call to OnMimeMessageEnd(Int64, Int32, Int64, Int64, Int32, CancellationToken) when the end of the message is found.

See Also