Method WithMaxMessageSize
WithMaxMessageSize(int)
Sets the maximum allowed size of the serialized message body in bytes. Messages exceeding this limit will cause SaveChangesAsync to throw.
public OutboxBuilder<TDbContext> WithMaxMessageSize(int maxBytes)
Parameters
maxBytesint
Returns
- OutboxBuilder<TDbContext>