<disableStackOverflowProbing> 元素

指定是否禁用堆栈溢出探测。

<配置>
   <运行时>
     <disableStackOverflowProbing>

Syntax

<disableStackOverflowProbing enabled="true"|"false" />

Attribute

Attribute Description
enabled 必需属性。

指定是否禁用堆栈溢出探测。

enabled Attribute

价值 Description
已启用堆栈溢出探测。
堆栈溢出探测已禁用。

父元素

元素 Description
configuration 公共语言运行时和 .NET Framework 应用程序所使用的每个配置文件中的根元素。
runtime 包含有关运行时初始化选项的信息。

注解

指定 <disableStackOverflowProbing> 是否禁用堆栈溢出探测。 如果在通过调用Thread(ParameterizedThreadStart, Int32)构造Thread堆栈时指定了非常小的堆栈大小,则可能需要禁用堆栈溢出探测。 当堆栈受到严重约束时,探测本身可能会导致堆栈溢出。

另请参阅