DkmExceptionDetails.Create(DkmInspectionSession, DkmExceptionInformation, DkmDataItem) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellen Sie eine neue dkmexceptiondetails-Objektinstanz.
Diese API wurde in Visual Studio 15 RTM (dkmapiversion. VS15RTM) eingeführt.
public:
static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionDetails ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionInformation ^ Exception, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation Exception, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails
Public Shared Function Create (InspectionSession As DkmInspectionSession, Exception As DkmExceptionInformation, DataItem As DkmDataItem) As DkmExceptionDetails
Parameter
- InspectionSession
- DkmInspectionSession
In Die Inspektions Sitzung, mit der die Lebensdauer dieser Instanz nachverfolgt wird.
- Exception
- DkmExceptionInformation
In Das ursprüngliche Ausnahme Objekt. Dies gilt immer für die ursprünglich ausgelöste Ausnahme. Wenn diese dkmexceptiondetails von getinnerexception stammen, stellt dieser Wert immer noch die enthaltende Ausnahme dar.
- DataItem
- DkmDataItem
[In, optional] Das Datenobjekt, das der neuen dkmexceptiondetails-Instanz hinzugefügt werden soll. Übergeben Sie "Null", wenn der Aufrufer kein Datenelement hinzufügen muss.
Gibt zurück
Vorgenommen Ergebnis dieses Methoden Aufrufes.