DkmStackContext.Create Methode

Definition

Überlädt

Create(DkmInspectionSession, DkmThread, DkmCallStackFilterOptions, DkmFrameFormatOptions, ReadOnlyCollection<Byte>, DkmDataItem)

Erstellen Sie eine neue dkmstackcontext-Objektinstanz. Der Aufrufer ist dafür verantwortlich, das erstellte Objekt zu schließen, nachdem es abgeschlossen wurde.

Location-Einschränkung: die API muss von einer IDE-Komponente (Komponentenebene > 100.000) aufgerufen werden.

Create(DkmInspectionSession, DkmThread, DkmCallStackFilterOptions, DkmFrameFormatOptions, ReadOnlyCollection<Byte>, DkmAsyncStackWalkContext, DkmStackWalkOperation, DkmDataItem)

Erstellen Sie eine neue dkmstackcontext-Objektinstanz. Der Aufrufer ist dafür verantwortlich, das erstellte Objekt zu schließen, nachdem es abgeschlossen wurde.

Location-Einschränkung: die API muss von einer IDE-Komponente (Komponentenebene > 100.000) aufgerufen werden.

Diese API wurde in Visual Studio 12 RTM (dkmapiversion. VS12RTM) eingeführt.

Create(DkmInspectionSession, DkmThread, DkmCallStackFilterOptions, DkmFrameFormatOptions, ReadOnlyCollection<Byte>, DkmDataItem)

Erstellen Sie eine neue dkmstackcontext-Objektinstanz. Der Aufrufer ist dafür verantwortlich, das erstellte Objekt zu schließen, nachdem es abgeschlossen wurde.

Location-Einschränkung: die API muss von einer IDE-Komponente (Komponentenebene > 100.000) aufgerufen werden.

public:
 static Microsoft::VisualStudio::Debugger::CallStack::DkmStackContext ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::CallStack::DkmCallStackFilterOptions FilterOptions, Microsoft::VisualStudio::Debugger::CallStack::DkmFrameFormatOptions FormatOptions, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ ThreadContext, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.CallStack.DkmStackContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.CallStack.DkmCallStackFilterOptions FilterOptions, Microsoft.VisualStudio.Debugger.CallStack.DkmFrameFormatOptions FormatOptions, System.Collections.ObjectModel.ReadOnlyCollection<byte> ThreadContext, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.CallStack.DkmCallStackFilterOptions * Microsoft.VisualStudio.Debugger.CallStack.DkmFrameFormatOptions * System.Collections.ObjectModel.ReadOnlyCollection<byte> * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackContext
Public Shared Function Create (InspectionSession As DkmInspectionSession, Thread As DkmThread, FilterOptions As DkmCallStackFilterOptions, FormatOptions As DkmFrameFormatOptions, ThreadContext As ReadOnlyCollection(Of Byte), DataItem As DkmDataItem) As DkmStackContext

Parameter

InspectionSession
DkmInspectionSession

In Dkminspectionsession ermöglicht den verschiedenen Komponenten, die Daten überprüfen, private Daten zu speichern, die mit einer Gruppe von Auswertungen verknüpft sind.

Thread
DkmThread

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

FilterOptions
DkmCallStackFilterOptions

In Optionen, wie die aufrufsstapel gefiltert werden soll.

FormatOptions
DkmFrameFormatOptions

In Sammlung von Einstellungen, die beeinflussen, wie der Stapel Anbieter einen dkmstackframe formatiert.

ThreadContext
ReadOnlyCollection<Byte>

[In, optional] Der erste Thread Kontext, der beim Ausführen des Stackwalk verwendet werden soll. Dieser Wert ist normalerweise "Null", kann aber festgelegt werden, um eine andere aufrufsstapel anzuzeigen (z.b. ". CXR").

DataItem
DkmDataItem

[In, optional] Das Datenobjekt, das der neuen dkmstackcontext-Instanz hinzugefügt werden soll. Übergeben Sie "Null", wenn der Aufrufer kein Datenelement hinzufügen muss.

Gibt zurück

DkmStackContext

Vorgenommen Ergebnis dieses Methoden Aufrufes.

Gilt für

Create(DkmInspectionSession, DkmThread, DkmCallStackFilterOptions, DkmFrameFormatOptions, ReadOnlyCollection<Byte>, DkmAsyncStackWalkContext, DkmStackWalkOperation, DkmDataItem)

Erstellen Sie eine neue dkmstackcontext-Objektinstanz. Der Aufrufer ist dafür verantwortlich, das erstellte Objekt zu schließen, nachdem es abgeschlossen wurde.

Location-Einschränkung: die API muss von einer IDE-Komponente (Komponentenebene > 100.000) aufgerufen werden.

Diese API wurde in Visual Studio 12 RTM (dkmapiversion. VS12RTM) eingeführt.

public:
 static Microsoft::VisualStudio::Debugger::CallStack::DkmStackContext ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::CallStack::DkmCallStackFilterOptions FilterOptions, Microsoft::VisualStudio::Debugger::CallStack::DkmFrameFormatOptions FormatOptions, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ ThreadContext, Microsoft::VisualStudio::Debugger::CallStack::DkmAsyncStackWalkContext ^ AsyncContext, Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkOperation Operation, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.CallStack.DkmStackContext Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.CallStack.DkmCallStackFilterOptions FilterOptions, Microsoft.VisualStudio.Debugger.CallStack.DkmFrameFormatOptions FormatOptions, System.Collections.ObjectModel.ReadOnlyCollection<byte> ThreadContext, Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext AsyncContext, Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkOperation Operation, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.CallStack.DkmCallStackFilterOptions * Microsoft.VisualStudio.Debugger.CallStack.DkmFrameFormatOptions * System.Collections.ObjectModel.ReadOnlyCollection<byte> * Microsoft.VisualStudio.Debugger.CallStack.DkmAsyncStackWalkContext * Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkOperation * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackContext
Public Shared Function Create (InspectionSession As DkmInspectionSession, Thread As DkmThread, FilterOptions As DkmCallStackFilterOptions, FormatOptions As DkmFrameFormatOptions, ThreadContext As ReadOnlyCollection(Of Byte), AsyncContext As DkmAsyncStackWalkContext, Operation As DkmStackWalkOperation, DataItem As DkmDataItem) As DkmStackContext

Parameter

InspectionSession
DkmInspectionSession

In Dkminspectionsession ermöglicht den verschiedenen Komponenten, die Daten überprüfen, private Daten zu speichern, die mit einer Gruppe von Auswertungen verknüpft sind.

Thread
DkmThread

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

FilterOptions
DkmCallStackFilterOptions

In Optionen, wie die aufrufsstapel gefiltert werden soll.

FormatOptions
DkmFrameFormatOptions

In Sammlung von Einstellungen, die beeinflussen, wie der Stapel Anbieter einen dkmstackframe formatiert.

ThreadContext
ReadOnlyCollection<Byte>

[In, optional] Der erste Thread Kontext, der beim Ausführen des Stackwalk verwendet werden soll. Dieser Wert ist normalerweise "Null", kann aber festgelegt werden, um eine andere aufrufsstapel anzuzeigen (z.b. ". CXR").

AsyncContext
DkmAsyncStackWalkContext

[In, optional] Gibt den Kontext für den asynchronen Stackwalk-Vorgang an, wenn wir die Rahmen der Fortsetzung oder der Aufgaben Erstellung abrufen.

Operation
DkmStackWalkOperation

In Welche Art von Stackwalk wir durchführen. Wenn der Vorgang asynkreturnstackwalk oder asynctaskkreationstackwalk ist, muss "Task" ungleich NULL sein. Andernfalls muss "AsyncContext" NULL sein.

DataItem
DkmDataItem

[In, optional] Das Datenobjekt, das der neuen dkmstackcontext-Instanz hinzugefügt werden soll. Übergeben Sie "Null", wenn der Aufrufer kein Datenelement hinzufügen muss.

Gibt zurück

DkmStackContext

Vorgenommen Ergebnis dieses Methoden Aufrufes.

Gilt für