Click or drag to resize
MimeKit

MimeReaderOnMultipartPreambleReadAsync Method

Called when multipart preamble text is read from the stream.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected virtual Task OnMultipartPreambleReadAsync(
	byte[] buffer,
	int startIndex,
	int count,
	CancellationToken cancellationToken
)

Parameters

buffer  Byte
A buffer containing the multipart preamble text.
startIndex  Int32
The index denoting the starting position of the content within the buffer.
count  Int32
The length of the content within the buffer, in bytes.
cancellationToken  CancellationToken
The cancellation token.

Return Value

Task
An asynchronous task context.
Remarks

Called when multipart preamble text is read from the stream.

See Also