Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Backend­Options Class / Logging­Backend­Options Properties / Logging­Backend­Options.​Context­Max­Length Property

LoggingBackendOptions.ContextMaxLength Property

Max length of the Description property.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.39.0 (5.0.39.0)
Syntax
C#
public int ContextMaxLength { get; set; }

Property Value

Type: Int32
Remarks

This property determines the size of the buffer allocated to build the Description property. If the real length exceeds the value of ContextMaxLength, no exception is thrown, and the excess content is ignored.

See Also