Mime |
protected virtual Task OnMessagePartBeginAsync( ContentType contentType, long beginOffset, int beginLineNumber, CancellationToken cancellationToken )
Called when the beginning of a message part is encountered in the stream.
This method is always paired with a corresponding call to OnMessagePartEndAsync(ContentType, Int64, Int32, Int64, Int64, Int32, CancellationToken) when the end of the message part is found.