Mime ParserOn Mime Part Content Begin Method
Called when the beginning of a MIME part's content is encountered in 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 OnMimePartContentBegin(
long beginOffset,
int beginLineNumber,
CancellationToken cancellationToken
)Parameters
- beginOffset Int64
- The offset into the stream where the MIME part content began.
- beginLineNumber Int32
- The line number where the MIME part content began.
- cancellationToken CancellationToken
- The cancellation token.
Remarks
Called when the beginning of a MIME part's content is encountered in the stream.
This method is always paired with a corresponding call to OnMimePartContentEnd(Int64, Int32, Int64, Int32, NullableNewLineFormat, CancellationToken).