ICancellable |
void Write( byte[] buffer, int offset, int count, CancellationToken cancellationToken )
When a custom stream implementation also implements this interface, writing a MimeMessage or MimeEntity to the custom stream will opt to use this interface instead of the normal Write(Byte, Int32, Int32) API to write data to the stream.
This is really useful when writing a message or other MIME entity directly to a network-based stream.