DkmILContext.Create 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.
Overloads
Create(DkmStackWalkFrame, DkmILContext+ThreadOverride) |
Create a new DkmILContext object instance. |
Create(DkmStackWalkFrame, DkmCustomDataContainer, DkmILContext+ThreadOverride) |
Create a new DkmILContext object instance. This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM). |
Create(DkmStackWalkFrame, DkmILContext+ThreadOverride)
Create a new DkmILContext object instance.
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ Create(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ StackFrame, Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext::ThreadOverride ^ ThreadOverride);
static Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext Create(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame const & StackFrame, Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext::ThreadOverride const & ThreadOverride);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext Create (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame StackFrame, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext.ThreadOverride ThreadOverride);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext Create (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame? StackFrame, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext.ThreadOverride? ThreadOverride);
static member Create : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext.ThreadOverride -> Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext
Public Shared Function Create (StackFrame As DkmStackWalkFrame, ThreadOverride As DkmILContext.ThreadOverride) As DkmILContext
Parameters
- StackFrame
- DkmStackWalkFrame
[In,Optional] Stack frame to use for evaluation. The specific thread to use may be overridden using the optional ThreadOverride part. A stack frame is required for accessing registers, invoking functions, or accessing thread-local storage, or for any query that is executing on a GPU runtime instance. A stack frame is not required when executing a query on a native runtime instance that only reads or writes memory.
- ThreadOverride
- DkmILContext.ThreadOverride
[In,Optional] Optional section that describes an alternate thread to use for evaluation.
Returns
[Out] Result of this method call.
Applies to
Create(DkmStackWalkFrame, DkmCustomDataContainer, DkmILContext+ThreadOverride)
Create a new DkmILContext object instance.
This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).
public:
static Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ Create(Microsoft::VisualStudio::Debugger::CallStack::DkmStackWalkFrame ^ StackFrame, Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomDataContainer ^ DataContainer, Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext::ThreadOverride ^ ThreadOverride);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext Create (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame StackFrame, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext.ThreadOverride ThreadOverride);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext Create (Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame? StackFrame, Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer? DataContainer, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext.ThreadOverride? ThreadOverride);
static member Create : Microsoft.VisualStudio.Debugger.CallStack.DkmStackWalkFrame * Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomDataContainer * Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext.ThreadOverride -> Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext
Public Shared Function Create (StackFrame As DkmStackWalkFrame, DataContainer As DkmCustomDataContainer, ThreadOverride As DkmILContext.ThreadOverride) As DkmILContext
Parameters
- StackFrame
- DkmStackWalkFrame
[In,Optional] Stack frame to use for evaluation. The specific thread to use may be overridden using the optional ThreadOverride part. A stack frame is required for accessing registers, invoking functions, or accessing thread-local storage, or for any query that is executing on a GPU runtime instance. A stack frame is not required when executing a query on a native runtime instance that only reads or writes memory.
- DataContainer
- DkmCustomDataContainer
[In,Optional] Custom data to associate with this DkmILContext. This is used to convey information associated with a particular execution of a DkmCompiledInspectionQuery.
- ThreadOverride
- DkmILContext.ThreadOverride
[In,Optional] Optional section that describes an alternate thread to use for evaluation.
Returns
[Out] Result of this method call.