DkmClrInstructionSymbol.Create(DkmModule, DkmClrMethodId, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new DkmClrInstructionSymbol object instance.
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ Create(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, Microsoft::VisualStudio::Debugger::Clr::DkmClrMethodId MethodId, System::UInt32 ILOffset);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId MethodId, uint ILOffset);
static member Create : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * uint32 -> Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol
Public Shared Function Create (Module As DkmModule, MethodId As DkmClrMethodId, ILOffset As UInteger) As DkmClrInstructionSymbol
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.
- MethodId
- DkmClrMethodId
[In] The version/token pair for this method.
- ILOffset
- UInt32
[In] ILOffset is the index of the IL instruction that this symbol represents. This value may be set to UInt32.MaxValue for an instruction that is within the given method, but not tied to a particular instruction. This is used for CLR native instructions that don't map to an IL instruction.
Returns
[Out] Result of this method call.