HttpLoggingAttribute.ResponseBodyLogLimit 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 response body.
public int ResponseBodyLogLimit { get; set; }
member this.ResponseBodyLogLimit : int with get, set
Public Property ResponseBodyLogLimit As Integer
Property Value
Exceptions
Thrown when ResponseBodyLogLimit set to a value less than 0
.
Thrown when getting ResponseBodyLogLimit if it hasn't been set to a value. Check IsResponseBodyLogLimitSet first.