| MimeReaderOnMboxMarkerEnd Method |
Called when the end of an Mbox marker is encountered in the stream.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax protected virtual void OnMboxMarkerEnd(
long beginOffset,
int lineNumber,
long endOffset,
CancellationToken cancellationToken
)
Parameters
- beginOffset Int64
- The offset into the stream where the mbox marker begins.
- lineNumber Int32
- The line number where the mbox marker exists within the stream.
- endOffset Int64
- The offset into the stream where the mbox marker ends.
- cancellationToken CancellationToken
- The cancellation token.
Remarks When the stream is specified to be in Mbox format, this method will be called whenever the parser encounters the end of an Mbox marker.
It is not necessary to override this method unless it is desirable to track the offsets of mbox markers within a stream or to extract the mbox marker itself.
See Also