Mime ParserOn Body Separator Async 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
An asynchronous task context.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
protected virtual Task OnBodySeparatorAsync(
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.
Return Value
TaskAn asynchronous task context.
Remarks
Called when the body separator is encountered in the stream.
This method is always called before OnHeadersEndAsync(Int64, Int32, Int64, Int32, CancellationToken) if a body separator is found.