Click or drag to resize
MimeKit

MimeReaderOnMultipartBoundaryAsync Method

Called when a multipart boundary is encountered in the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
protected virtual Task OnMultipartBoundaryAsync(
	string boundary,
	long beginOffset,
	long endOffset,
	int lineNumber,
	CancellationToken cancellationToken
)

Parameters

boundary  String
The multipart boundary string.
beginOffset  Int64
The offset into the stream where the boundary marker began.
endOffset  Int64
The offset into the stream where the boundary marker ended.
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