Mime ParserOn Body Separator Method
Called when the body separator is encountered in the stream.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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.