Tnef Conversion OptionsMax Calendar Exceptions Size Property
Definition
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
public long MaxCalendarExceptionsSize { get; set; }Property Value
Int64The maximum size of the exceptions, in bytes. The default is DefaultMaxCalendarExceptionsSize.
Remarks
Each modified occurrence (exception) of a recurring appointment is written to the generated text/calendar part as its own VEVENT, which repeats most of the appointment's properties. Limiting the number of exceptions with MaxCalendarExceptions is not enough on its own, because an appointment with a very large description or attendee list multiplies that size by the number of exceptions. This limit bounds the total size of the exception VEVENTs; the appointment itself is always written.
Once an exception would exceed the limit, it and the remaining exceptions are omitted and reported as CalendarExceptionLimitExceeded. Their embedded messages, if any, are added to the MIME message as attachments.
Exceptions
| ArgumentOutOfRangeException | value is less than 0. |