Share via


HttpLoggingAttribute.RequestBodyLogLimit Property

Definition

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.

Applies to