DkmStackWalkContext.Create Yöntem

Tanım

Aşırı Yüklemeler

Create(DkmThread, ReadOnlyCollection<Byte>, DkmDataItem)

Yeni bir DkmStackWalkContext nesnesi örneği oluşturun.

Create(DkmThread, ReadOnlyCollection<Byte>, UInt64, DkmDataItem)

Yeni bir DkmStackWalkContext nesnesi örneği oluşturun.

         Bu API, Visual Studio 15 güncelleştirme 6 ' da (DkmApiVersion. VS15Update6) tanıtılmıştır.

Create(DkmThread, ReadOnlyCollection<Byte>, DkmDataItem)

Yeni bir DkmStackWalkContext nesnesi örneği oluşturun.

public:
 static Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkContext ^ Create(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ ThreadContext, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkContext Create (Microsoft.VisualStudio.Debugger.DkmThread Thread, System.Collections.ObjectModel.ReadOnlyCollection<byte> ThreadContext, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DkmThread * System.Collections.ObjectModel.ReadOnlyCollection<byte> * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkContext
Public Shared Function Create (Thread As DkmThread, ThreadContext As ReadOnlyCollection(Of Byte), DataItem As DkmDataItem) As DkmStackWalkContext

Parametreler

Thread
DkmThread

'Ndaki DkmThread, hedef işlemde çalışan bir iş parçacığını temsil eder.

ThreadContext
ReadOnlyCollection<Byte>

[In, Isteğe bağlı] Stack yürüirken kullanılacak ilk Win32 BAĞLAMı. Bu değer normalde ' null ' olur, ancak başka bir çağrı yığınını (örn:. cxr) görüntülemek için ayarlanabilir.

DataItem
DkmDataItem

[In, Isteğe bağlı] Yeni DkmStackWalkContext örneğine eklenecek veri nesnesi. Çağıranın bir veri öğesi eklemesi gerekmiyorsa ' null ' geçirin.

Döndürülenler

DkmStackWalkContext

Dışı Bu yöntem çağrısının sonucu.

Şunlara uygulanır

Create(DkmThread, ReadOnlyCollection<Byte>, UInt64, DkmDataItem)

Yeni bir DkmStackWalkContext nesnesi örneği oluşturun.

         Bu API, Visual Studio 15 güncelleştirme 6 ' da (DkmApiVersion. VS15Update6) tanıtılmıştır.
public:
 static Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkContext ^ Create(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ ThreadContext, System::UInt64 TopStackPointer, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkContext Create (Microsoft.VisualStudio.Debugger.DkmThread Thread, System.Collections.ObjectModel.ReadOnlyCollection<byte> ThreadContext, ulong TopStackPointer, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DkmThread * System.Collections.ObjectModel.ReadOnlyCollection<byte> * uint64 * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkContext
Public Shared Function Create (Thread As DkmThread, ThreadContext As ReadOnlyCollection(Of Byte), TopStackPointer As ULong, DataItem As DkmDataItem) As DkmStackWalkContext

Parametreler

Thread
DkmThread

'Ndaki DkmThread, hedef işlemde çalışan bir iş parçacığını temsil eder.

ThreadContext
ReadOnlyCollection<Byte>

[In, Isteğe bağlı] Stack yürüirken kullanılacak ilk Win32 BAĞLAMı. Bu değer normalde ' null ' olur, ancak başka bir çağrı yığınını (örn:. cxr) görüntülemek için ayarlanabilir.

TopStackPointer
UInt64

'Ndaki Üst yığın çerçevesi için yığın işaretçisi.

DataItem
DkmDataItem

[In, Isteğe bağlı] Yeni DkmStackWalkContext örneğine eklenecek veri nesnesi. Çağıranın bir veri öğesi eklemesi gerekmiyorsa ' null ' geçirin.

Döndürülenler

DkmStackWalkContext

Dışı Bu yöntem çağrısının sonucu.

Şunlara uygulanır