Mime ParserOn Multipart Boundary Begin Async Method
Called when a multipart boundary 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 OnMultipartBoundaryBeginAsync(
long beginOffset,
int lineNumber,
CancellationToken cancellationToken
)Parameters
- beginOffset Int64
- The offset into the stream where the boundary marker began.
- lineNumber Int32
- The line number where the boundary marker was found in the stream.
- cancellationToken CancellationToken
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Remarks
Called when a multipart boundary is encountered in the stream.