IDkmBinaryLocator11a.TryLocateBinary 方法

定义

调用以开始查找其映像可能之前未找到或未尝试加载的二进制文件。 此方法会在本地磁盘和任何配置的符号服务器上搜索与参数匹配的二进制文件。 返回本地磁盘上此文件的路径。 如果文件在符号服务器上,则会将该文件下载到缓存,并返回本地路径。

public:
 System::String ^ TryLocateBinary(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, System::String ^ applicationPath, System::String ^ dumpPath, System::String ^ originalPath, System::UInt32 timeDateStamp, System::UInt32 imageSize);
public string TryLocateBinary (Microsoft.VisualStudio.Debugger.DkmProcess process, string applicationPath, string dumpPath, string originalPath, uint timeDateStamp, uint imageSize);
abstract member TryLocateBinary : Microsoft.VisualStudio.Debugger.DkmProcess * string * string * string * uint32 * uint32 -> string
Public Function TryLocateBinary (process As DkmProcess, applicationPath As String, dumpPath As String, originalPath As String, timeDateStamp As UInteger, imageSize As UInteger) As String

参数

process
DkmProcess

中DkmProcess 表示正在调试的目标进程。 调试器调试进程,因此这是调试的基本单元。 DkmProcess 可以表示系统进程或虚拟进程,如小型转储。

applicationPath
String

中存储在小型转储中的 exe 的原始路径。

dumpPath
String

中转储文件的路径。

originalPath
String

中存储在小型转储中的二进制文件的原始路径。

timeDateStamp
UInt32

中Time_t 格式的二进制文件的时间日期戳。

imageSize
UInt32

中图像的大小。

返回

String

[Out,Optional]本地 (本地磁盘上的路径,或下载) 二进制文件。

适用于