LoggingOptions.BodyReadTimeout 属性

定义

获取或设置等待读取请求或响应正文的最长时间。

public:
 property TimeSpan BodyReadTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan BodyReadTimeout { get; set; }
member this.BodyReadTimeout : TimeSpan with get, set
Public Property BodyReadTimeout As TimeSpan

属性值

默认值为 1 秒。

注解

该值的范围应为 1 毫秒到 1 分钟。

适用于