Share via


DkmGPUMemoryAccessExceptionInformation.Create Method

Definition

Create a new DkmGPUMemoryAccessExceptionInformation object instance.

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);
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

Parameters

RuntimeInstance
DkmRuntimeInstance

[In] The DkmRuntimeInstance class represents an execution environment which is loaded into a DkmProcess and which contains code to be debugged.

Thread
DkmThread

[In] DkmThread represents a thread running in the target process.

InstructionAddress
DkmInstructionAddress

[In,Optional] Address where the exception occurred. This will always be present for C++ and Win32 exceptions. It may be missing from CLR exceptions or MDAs as these may originate from inside the runtime.

Name
String

[In,Optional] Name of the exception. For C++ or CLR exceptions, this is the type name. This value will be null for exception categories that identify exceptions by code (ex: Win32).

Code
UInt32

[In] 32-bit integer code for the exception. For Win32 exceptions, this is the code passed to RaiseException (ex:EXCEPTION_ACCESS_VIOLATION). This value is zero for exception categories that identify exceptions by string (ex: CLR).

ProcessingStage
DkmExceptionProcessingStage

[In] The debugger receives notifications from the target process at various stages within exception processing (ex: exception thrown, exception unhandled). This enumeration indicates the stage(s) for a notification.

ConflictingInstructionAddress
UInt64

[In] The address of the conflicting instruction.

ConflictingThreadGlobalIndex
UInt64

[In] The global id of the conflicting thread.

Returns

[Out] Result of this method call.

Applies to