Click or drag to resize
MimeKit

MimeReaderOnMimePartContentReadAsync Method

Called when MIME part content is read from the stream.

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

Parameters

buffer  Byte
A buffer containing the MIME part content.
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 MIME part content is read from the stream.

See Also