Mime ParserOn Multipart Preamble Read Method
Called when multipart preamble text is read from the stream.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
protected virtual void OnMultipartPreambleRead(
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.
Remarks
Called when multipart preamble text is read from the stream.