HttpLoggingAttribute.RequestBodyLogLimit Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the maximum number of bytes to be logged for the request body.
public int RequestBodyLogLimit { get; set; }
member this.RequestBodyLogLimit : int with get, set
Public Property RequestBodyLogLimit As Integer
Property Value
Exceptions
Thrown when RequestBodyLogLimit set to a value less than 0
.
Thrown when getting RequestBodyLogLimit if it hasn't been set to a value. Check IsRequestBodyLogLimitSet first.