DkmBasicInstructionSymbolInfo.Create Method

Definition

Create a new DkmBasicInstructionSymbolInfo object instance.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).

public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmBasicInstructionSymbolInfo ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmCompilerId CompilerId, System::String ^ MethodName, Microsoft::VisualStudio::Debugger::Symbols::DkmSourcePosition ^ SourcePosition, int InlineFrameCount);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmBasicInstructionSymbolInfo Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId CompilerId, string MethodName, Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition SourcePosition, int InlineFrameCount);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmBasicInstructionSymbolInfo Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId CompilerId, string MethodName, Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition? SourcePosition, int InlineFrameCount);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId * string * Microsoft.VisualStudio.Debugger.Symbols.DkmSourcePosition * int -> Microsoft.VisualStudio.Debugger.Symbols.DkmBasicInstructionSymbolInfo
Public Shared Function Create (CompilerId As DkmCompilerId, MethodName As String, SourcePosition As DkmSourcePosition, InlineFrameCount As Integer) As DkmBasicInstructionSymbolInfo

Parameters

CompilerId
DkmCompilerId

[In] LanguageId/VendorId for the compiler which produced the code for this symbol. If this is unknown (ex: RVA doesn't point to an instruction), both values will be Guid.Empty.

MethodName
String

[In] Name of method without arguments (DkmVariableInfoFlags::None). This will be set to an empty string if the instruction symbol isn't within the range of a function.

SourcePosition
DkmSourcePosition

[In,Optional] Source code location for this instruction.

InlineFrameCount
Int32

[In] Number of inline frames at the given instruction symbol.

Returns

[Out] Result of this method call.

Applies to