共用方式為


DkmScriptInstructionSymbol.Create Method

Definition

Create a new DkmScriptInstructionSymbol object instance.

public:
 static Microsoft::VisualStudio::Debugger::Script::DkmScriptInstructionSymbol ^ Create(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, Guid RuntimeType, Microsoft::VisualStudio::Debugger::Script::DkmScriptDocument ^ Document, int Revision, int StartIndex, int StatementLength, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ AdditionalData);
public static Microsoft.VisualStudio.Debugger.Script.DkmScriptInstructionSymbol Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, Guid RuntimeType, Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument Document, int Revision, int StartIndex, int StatementLength, System.Collections.ObjectModel.ReadOnlyCollection<byte> AdditionalData);
public static Microsoft.VisualStudio.Debugger.Script.DkmScriptInstructionSymbol Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, Guid RuntimeType, Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument Document, int Revision, int StartIndex, int StatementLength, System.Collections.ObjectModel.ReadOnlyCollection<byte>? AdditionalData);
static member Create : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Guid * Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument * int * int * int * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Script.DkmScriptInstructionSymbol
Public Shared Function Create (Module As DkmModule, RuntimeType As Guid, Document As DkmScriptDocument, Revision As Integer, StartIndex As Integer, StatementLength As Integer, AdditionalData As ReadOnlyCollection(Of Byte)) As DkmScriptInstructionSymbol

Parameters

Module
DkmModule

[In] The DkmModule class represents a code bundle (ex: dll or exe) which is or once was loaded into one or more processes. The DkmModule class is the central object to the symbol APIs, and is 1:1 with the symbol handler's notation of what is loaded. If a code bundle loads into three different processes (or the same process but with three different base addresses or three different app domains) but the symbol handler thinks of all of these as being identical, there will be only one module object.

RuntimeType
Guid

[In] The Runtime Id identifies the execution environment for a particular piece of code. Runtime Ids are used by the dispatcher to decide which monitor to dispatch to. Note that the ordering of the runtime ID Guids is somewhat significant as this dictates which runtime gets the first shot during arbitration. Thus, if one wants to declare a new runtime instance which is built on the CLR, the runtime id should be less than DkmRuntimeId.Clr.

Document
DkmScriptDocument

[In] Document containing this instruction.

Revision
Int32

[In] Indicates the revision number which inserted the statement represented by this object. Typically, this will be zero for non-dynamic documents.

StartIndex
Int32

[In] Indicates the starting character index of this statement, relative to the start of revision which inserted this statement.

StatementLength
Int32

[In] Length of the statement (in characters).

AdditionalData
ReadOnlyCollection<Byte>

[In,Optional] Additional runtime-specific data associated with an address. This data will not be used when comparing addresses.

Returns

[Out] Result of this method call.

Applies to