 | MimeReaderOnMimePartContentReadAsync Method |
Called when MIME part content is read from the stream.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxprotected 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
TaskAn asynchronous task context.
RemarksCalled when MIME part content is read from the stream.
See Also