Click or drag to resize
MimeKit

MimeReaderOnMultipartBoundaryBeginAsync Method

Called when a multipart boundary is encountered in the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.12.0
Syntax
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

Task
An asynchronous task context.
Remarks
Called when a multipart boundary is encountered in the stream.
See Also