DkmScriptInstructionAddress.Create Yöntem

Tanım

Yeni bir Dkmscriptkomutctionaddress nesne örneği oluşturun.

public:
 static Microsoft::VisualStudio::Debugger::Script::DkmScriptInstructionAddress ^ Create(Microsoft::VisualStudio::Debugger::DkmModuleInstance ^ ModuleInstance, Microsoft::VisualStudio::Debugger::Script::DkmScriptRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::Script::DkmScriptDocument ^ Document, int Revision, int StartIndex, int StatementLength, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ AdditionalData, Microsoft::VisualStudio::Debugger::DkmInstructionAddress::CPUInstruction ^ CPUInstruction);
public static Microsoft.VisualStudio.Debugger.Script.DkmScriptInstructionAddress Create (Microsoft.VisualStudio.Debugger.DkmModuleInstance ModuleInstance, Microsoft.VisualStudio.Debugger.Script.DkmScriptRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument Document, int Revision, int StartIndex, int StatementLength, System.Collections.ObjectModel.ReadOnlyCollection<byte> AdditionalData, Microsoft.VisualStudio.Debugger.DkmInstructionAddress.CPUInstruction CPUInstruction);
static member Create : Microsoft.VisualStudio.Debugger.DkmModuleInstance * Microsoft.VisualStudio.Debugger.Script.DkmScriptRuntimeInstance * Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument * int * int * int * System.Collections.ObjectModel.ReadOnlyCollection<byte> * Microsoft.VisualStudio.Debugger.DkmInstructionAddress.CPUInstruction -> Microsoft.VisualStudio.Debugger.Script.DkmScriptInstructionAddress
Public Shared Function Create (ModuleInstance As DkmModuleInstance, RuntimeInstance As DkmScriptRuntimeInstance, Document As DkmScriptDocument, Revision As Integer, StartIndex As Integer, StatementLength As Integer, AdditionalData As ReadOnlyCollection(Of Byte), CPUInstruction As DkmInstructionAddress.CPUInstruction) As DkmScriptInstructionAddress

Parametreler

ModuleInstance
DkmModuleInstance

[In, Isteğe bağlı] Bu adresi içeren modül. Modül içermeyen adreslerde simgeler bulunamaz (özel adresler için bile). CLR adreslerinde her zaman bir modül olur. CPU, geçersiz bir adrese (örn: NULL) atlatıldığından veya CPU dinamik olarak yayınlanan kodu yürütülerek yerel adresler modüle sahip olmayacaktır.

RuntimeInstance
DkmScriptRuntimeInstance

'Ndaki Hedef işlemde yürütülen komut dosyası tabanlı yürütme ortamını temsil eder.

Document
DkmScriptDocument

'Ndaki Bu yönergeyi içeren belge.

Revision
Int32

'Ndaki Bu nesne tarafından temsil edilen ifadeyi ekleyen Düzeltme numarasını gösterir. Genellikle, bu, dinamik olmayan belgeler için sıfır olur.

StartIndex
Int32

'Ndaki Bu deyimin başlangıç karakter dizinini, bu deyimin eklendiği düzeltme başlangıcına göre gösterir.

StatementLength
Int32

'Ndaki Deyimin uzunluğu (karakter).

AdditionalData
ReadOnlyCollection<Byte>

[In, Isteğe bağlı] Bir adresle ilişkili ek çalışma zamanına özgü veriler. Bu veriler, adresler karşılaştırılırken kullanılmayacak.

CPUInstruction
DkmInstructionAddress.CPUInstruction

[In, Isteğe bağlı] Cpuyönergesi, CPU 'nun yürütüleceği adresi sağlar. Bu her zaman yerel yönergeler için sağlanır. Adres nesnesinin nasıl oluşturulduğuna bağlı olarak CLR veya özel adresler için sağlanmış olabilir.

Döndürülenler

DkmScriptInstructionAddress

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

Şunlara uygulanır