Click or drag to resize
MimeKit

MimeReaderOnMultipartEpilogueEndAsync Method

Called when the end of the epilogue of a multipart is encountered in the stream.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
protected virtual Task OnMultipartEpilogueEndAsync(
	long beginOffset,
	int beginLineNumber,
	long endOffset,
	int lines,
	CancellationToken cancellationToken
)

Parameters

beginOffset
Type: SystemInt64
The offset into the stream where the multipart epilogue began.
beginLineNumber
Type: SystemInt32
The line number where the multipart epilogue began.
endOffset
Type: SystemInt64
The offset into the stream where the multipart epilogue ended.
lines
Type: SystemInt32
The length of the multipart epilogue as measured in lines.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: Task
An asynchronous task context.
Remarks

Called when the end of the epilogue of a multipart is encountered in the stream.

This method is always paired with a corresponding call to OnMultipartEpilogueBeginAsync(Int64, Int32, CancellationToken).

See Also