 | MimeReaderOnMultipartEndBoundaryReadAsync Method |
Called when a multipart end boundary is encountered in the stream.
Namespace: MimeKitAssembly: MimeKit (in MimeKit.dll) Version: 4.12.0
Syntaxprotected virtual Task OnMultipartEndBoundaryReadAsync(
byte[] buffer,
int startIndex,
int count,
long beginOffset,
int lineNumber,
CancellationToken cancellationToken
)
Parameters
- buffer Byte
- The buffer containing the boundary marker.
- startIndex Int32
- The index denoting the starting position of the boundary marker within the buffer.
- count Int32
- The length of the boundary marker within the buffer, in bytes.
- beginOffset Int64
- The offset into the stream where the boundary marker began.
- lineNumber Int32
- The line number where the boundary marker exists within the stream.
- cancellationToken CancellationToken
- The cancellation token.
Return Value
TaskAn asynchronous task context.
Remarks
Called when a multipart end boundary is encountered in the stream.
See Also