DkmGPUMemoryAccessExceptionInformation.Create(DkmRuntimeInstance, DkmThread, DkmInstructionAddress, String, UInt32, DkmExceptionProcessingStage, UInt64, UInt64) Methode

Definition

Erstellen Sie eine neue dkmgpumemoryaccessexceptioninformation-Objektinstanz.

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

Parameter

RuntimeInstance
DkmRuntimeInstance

In Die dkmruntimeinstance-Klasse stellt eine Ausführungsumgebung dar, die in einen dkmprocess geladen wird und den zu debuggenden Code enthält.

Thread
DkmThread

In Dkmthread stellt einen Thread dar, der im Ziel Prozess ausgeführt wird.

InstructionAddress
DkmInstructionAddress

[In, optional] Adresse, an der die Ausnahme aufgetreten ist. Dies ist für C++-und Win32-Ausnahmen immer vorhanden. Möglicherweise fehlt Sie in CLR-Ausnahmen oder MDAs, da diese aus der Laufzeit stammen können.

Name
String

[In, optional] Der Name der Ausnahme. Bei C++-oder CLR-Ausnahmen handelt es sich hierbei um den Typnamen. Dieser Wert ist NULL für Ausnahme Kategorien, die Ausnahmen durch Code identifizieren (z.: Win32).

Code
UInt32

[In] 32-Bit-Ganzzahl-Code für die Ausnahme. Bei Win32-Ausnahmen ist dies der an RaiseException übergebenen Code (Beispiel: EXCEPTION_ACCESS_VIOLATION). Dieser Wert ist 0 (null) für Ausnahme Kategorien, die Ausnahmen nach Zeichenfolge (z. & #: CLR) identifizieren.

ProcessingStage
DkmExceptionProcessingStage

In Der Debugger empfängt Benachrichtigungen vom Ziel Prozess in verschiedenen Phasen innerhalb der Ausnahme Verarbeitung (z. b. Ausnahme ausgelöst, Ausnahme nicht behandelt). Diese Enumeration gibt die Stufe (n) für eine Benachrichtigung an.

ConflictingInstructionAddress
UInt64

In Die Adresse der in Konflikt stehenden Anweisung.

ConflictingThreadGlobalIndex
UInt64

In Die globale ID des Konflikt verursachenden Threads.

Gibt zurück

DkmGPUMemoryAccessExceptionInformation

Vorgenommen Ergebnis dieses Methoden Aufrufes.

Gilt für