LibuvTransportOptions.ThreadCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.
用來處理要求的 libuv I/O 執行緒數目。
public:
property int ThreadCount { int get(); void set(int value); };
public int ThreadCount { get; set; }
[System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)]
public int ThreadCount { get; set; }
member this.ThreadCount : int with get, set
[<System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)>]
member this.ThreadCount : int with get, set
Public Property ThreadCount As Integer
屬性值
- 屬性
備註
預設為 1 到 16 之間的一半 ProcessorCount 舍去和固定。