IDkmReturnValuesNotification.OnReturnValues 方法

定义

在事件处理过程中,将调用 OnReturnValues。 有关详细信息,请参阅接口定义。

public:
 void OnReturnValues(Microsoft::VisualStudio::Debugger::Stepping::DkmStepper ^ stepper, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::DkmRawReturnValue ^> ^ returnValues, bool lastValueInCurrentContext, Microsoft::VisualStudio::Debugger::DkmEventDescriptorS ^ eventDescriptor);
public void OnReturnValues (Microsoft.VisualStudio.Debugger.Stepping.DkmStepper stepper, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue> returnValues, bool lastValueInCurrentContext, Microsoft.VisualStudio.Debugger.DkmEventDescriptorS eventDescriptor);
abstract member OnReturnValues : Microsoft.VisualStudio.Debugger.Stepping.DkmStepper * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmRawReturnValue> * bool * Microsoft.VisualStudio.Debugger.DkmEventDescriptorS -> unit
Public Sub OnReturnValues (stepper As DkmStepper, returnValues As ReadOnlyCollection(Of DkmRawReturnValue), lastValueInCurrentContext As Boolean, eventDescriptor As DkmEventDescriptorS)

参数

stepper
DkmStepper

中DkmStepper 表示用于单步执行线程的请求。 它简化了参与单步执行的各种运行时调试监视器之间的共享对象生存期。

returnValues
ReadOnlyCollection<DkmRawReturnValue>

[In,可选]记录 DkmRawReturnValues。

lastValueInCurrentContext
Boolean

中如果为 true,则使用当前线程上下文计算最后一个返回值是有效的。 仅在处理返回指令后立即出现这种情况,因此,仅当在与 StepComplete 事件相同的线程上和在同一线程上立即引发此事件时才应设置此值。

eventDescriptor
DkmEventDescriptorS

中描述正在处理的事件,并提供组件禁止显示此事件的功能。

适用于