7 [System.Diagnostics.CodeAnalysis.SuppressMessage(
"Microsoft.Usage",
8 "CA2237:MarkISerializableTypesWithSerializable")]
20 : base(GetMessage(innerException), innerException)
27 private static string GetMessage(Exception ex)
30 int depth = 1 + asBpException?.
Depth ?? 0;
33 return "An exception occurred on the producer thread at depth " +
34 depth +
": " + originalException.Message;
Indicates that an exception occurred inside of a buffered producer thread.
Exception OriginalException
The innermost exception that led to the first BufferProducerException.
int Depth
The Depth of the original exception, in the case of a chain of buffered producer consumers.
BufferProducerException(Exception innerException)
Indicates that an exception occurred inside of a buffered producer thread.