Click or drag to resize
MimeKit

MimeReaderOnBodySeparator Method

Called when the body separator is encountered in the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.12.0
Syntax
C#
protected virtual void OnBodySeparator(
	long beginOffset,
	int lineNumber,
	long endOffset,
	CancellationToken cancellationToken
)

Parameters

beginOffset  Int64
The offset into the stream where the body separator began.
lineNumber  Int32
The line number where the body separator was found.
endOffset  Int64
The offset into the stream where the body separator ended.
cancellationToken  CancellationToken
The cancellation token.
Remarks

Called when the body separator is encountered in the stream.

This method is always called before OnHeadersEnd(Int64, Int32, Int64, Int32, CancellationToken) if a body separator is found.

See Also