Runtime.UseAutoreleasePoolInThreadPool 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
值,指定 Mono 執行時間是否應該針對 threadpool 上每個工作專案自動建立 NSAutoreleasePool。
public static bool UseAutoreleasePoolInThreadPool { get; set; }
member this.UseAutoreleasePoolInThreadPool : bool with get, set
屬性值
備註
預設會啟用這項功能,但因為建立 NSAutoreleasePool 會增加每個工作專案的額外負荷,所以可能會針對發現無法接受此額外負荷的應用程式停用它。