KestrelServerOptions.ThreadCount 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于处理请求的 libuv I/O 线程数。
public:
property int ThreadCount { int get(); void set(int value); };
public int ThreadCount { get; set; }
member this.ThreadCount : int with get, set
Public Property ThreadCount As Integer
属性值
注解
默认为向下舍入的一 ProcessorCount 半,并固定在 1 到 16 之间。