DkmGPUMemoryAccessExceptionInformation.Create 方法

定义

创建新的 DkmGPUMemoryAccessExceptionInformation 对象实例。

public:
 static Microsoft::VisualStudio::Debugger::GPU::DkmGPUMemoryAccessExceptionInformation ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ InstructionAddress, System::String ^ Name, System::UInt32 Code, Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, System::UInt64 ConflictingInstructionAddress, System::UInt64 ConflictingThreadGlobalIndex);
public static Microsoft.VisualStudio.Debugger.GPU.DkmGPUMemoryAccessExceptionInformation Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.DkmInstructionAddress InstructionAddress, string Name, uint Code, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, ulong ConflictingInstructionAddress, ulong ConflictingThreadGlobalIndex);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.DkmInstructionAddress * string * uint32 * Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * uint64 * uint64 -> Microsoft.VisualStudio.Debugger.GPU.DkmGPUMemoryAccessExceptionInformation
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, Thread As DkmThread, InstructionAddress As DkmInstructionAddress, Name As String, Code As UInteger, ProcessingStage As DkmExceptionProcessingStage, ConflictingInstructionAddress As ULong, ConflictingThreadGlobalIndex As ULong) As DkmGPUMemoryAccessExceptionInformation

参数

RuntimeInstance
DkmRuntimeInstance

中DkmRuntimeInstance 类表示加载到 DkmProcess 中的执行环境,其中包含要调试的代码。

Thread
DkmThread

中DkmThread 表示在目标进程中运行的线程。

InstructionAddress
DkmInstructionAddress

[In,可选]发生异常的地址。 这对于 c + + 和 Win32 异常将始终存在。 CLR 异常或 Mda 可能缺少此项,因为它们可能源自运行时内部。

Name
String

[In,可选]异常的名称。 对于 c + + 或 CLR 异常,这是类型名。 对于通过代码识别异常的异常类别,此值将为 null (ex: Win32) 。

Code
UInt32

[In] 用于异常的32位整数代码。 对于 Win32 异常,这是传递给 RaiseException 的代码, (例如: EXCEPTION_ACCESS_VIOLATION) 。 对于通过字符串标识异常的异常类别,此值为零 (ex: CLR) 。

ProcessingStage
DkmExceptionProcessingStage

中调试器将在异常处理中的不同阶段接收来自目标进程的通知 (例如:引发了异常,异常未处理) 。 此枚举指示通知的阶段 () 。

ConflictingInstructionAddress
UInt64

中冲突的指令的地址。

ConflictingThreadGlobalIndex
UInt64

中冲突线程的全局 id。

返回

DkmGPUMemoryAccessExceptionInformation

弄此方法调用的结果。

适用于