DkmStepper.SetExceptionInFlight(Boolean) 方法

定义

运行时监视器调用此方法以设置或清除 DkmStepper 上的标志,协作运行时可使用该标志来更改在飞行中当前是否有异常时的单步执行行为。 在单步执行时遇到异常时,由运行时监视器调用。

位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。

此 API 是在 Visual Studio 11 Update 1 (VS11FeaturePack1) 中引入的。

public:
 void SetExceptionInFlight(bool Enable);
public:
 void SetExceptionInFlight(bool Enable);
void SetExceptionInFlight(bool Enable);
public void SetExceptionInFlight (bool Enable);
member this.SetExceptionInFlight : bool -> unit
Public Sub SetExceptionInFlight (Enable As Boolean)

参数

Enable
Boolean

中如果为 true,则设置航班标志中的异常。 如果为 false,则清除它。

适用于