Click or drag to resize
MimeKit

MimeReaderOnHeadersEndAsync Method

Called when the end of a list of headers is encountered in the stream.

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

Parameters

beginOffset  Int64
The offset into the stream where the headers began.
beginLineNumber  Int32
The line number where the list of headers began.
endOffset  Int64
The offset into the stream where the list of headers ended.
endLineNumber  Int32
The line number headers where the list of headers ended.
cancellationToken  CancellationToken
The cancellation token.

Return Value

Task
An asynchronous task context.
Remarks

Called when the end of a list of headers is encountered in the stream.

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

See Also