共用方式為


Runtime.UseAutoreleasePoolInThreadPool 屬性

定義

值,指定 Mono 執行時間是否應該針對 threadpool 上每個工作專案自動建立 NSAutoreleasePool。

public static bool UseAutoreleasePoolInThreadPool { get; set; }
member this.UseAutoreleasePoolInThreadPool : bool with get, set

屬性值

備註

預設會啟用這項功能,但因為建立 NSAutoreleasePool 會增加每個工作專案的額外負荷,所以可能會針對發現無法接受此額外負荷的應用程式停用它。

適用於