DkmRuntimeWalkNextFramesAndCheckCacheAsyncResult(DkmStackWalkFrame[], Boolean, DkmStackHash, DkmStackWalkContext, Boolean) 构造函数

定义

创建新的结果结构,以便保存对 DkmStackWalkContext 的成功调用的输出。Creates a new result structure to hold the output from a successful call to DkmStackWalkContext.RuntimeWalkNextFramesAndCheckCache.

public:
 DkmRuntimeWalkNextFramesAndCheckCacheAsyncResult(cli::array <Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^> ^ Frames, bool EndOfStack, Microsoft::VisualStudio::Debugger::CallStack::DkmStackHash ^ ActualStackHash, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkContext ^ ActualStackWalkContext, bool IsCacheValid);
public DkmRuntimeWalkNextFramesAndCheckCacheAsyncResult (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame[] Frames, bool EndOfStack, Microsoft.VisualStudio.Debugger.CallStack.DkmStackHash ActualStackHash, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkContext ActualStackWalkContext, bool IsCacheValid);
new Microsoft.VisualStudio.Debugger.CallStack.DkmRuntimeWalkNextFramesAndCheckCacheAsyncResult : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame[] * bool * Microsoft.VisualStudio.Debugger.CallStack.DkmStackHash * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkContext * bool -> Microsoft.VisualStudio.Debugger.CallStack.DkmRuntimeWalkNextFramesAndCheckCacheAsyncResult
Public Sub New (Frames As DkmStackWalkFrame(), EndOfStack As Boolean, ActualStackHash As DkmStackHash, ActualStackWalkContext As DkmStackWalkContext, IsCacheValid As Boolean)

参数

Frames
DkmStackWalkFrame[]

中遍历帧的数组。[In] Array of walked frames. 对于,未解析的帧,InstructionAddress 和 Description 都将为 null。For, unresolved frames, both InstructionAddress and Description will be null.

EndOfStack
Boolean

中如果监视器到达堆栈的末尾,则返回 true。[In] Returns true if the monitor reached the end of the stack.

ActualStackHash
DkmStackHash

[In,可选]调用堆栈的实际哈希。[In,Optional] The actual hash of the call stack. 对于不支持调用堆栈哈希处理的运行时,这可能为 NULL。This may be NULL for runtimes that don't support call stack hashing.

ActualStackWalkContext
DkmStackWalkContext

中稍后可用于继续执行的 DkmStackWalkContext 对象。[In] The DkmStackWalkContext object that can used later to continue the walk. 如果缓存有效,则这是原始上下文。If the cache is valid, this is the original context. 如果缓存无效,将为新的 DkmStackWalkContext 对象。If the cache is invalid, this will be a new DkmStackWalkContext object.

IsCacheValid
Boolean

中如果缓存有效,则为 True; 否则为 false。[In] True if the cache was valid, false if not.

适用于