Share via


HttpLoggingAttribute.ResponseBodyLogLimit Property

Definition

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.

Applies to