DkmILContext Class

Definition

Context to use for IL evaluation.

public ref class DkmILContext
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmILContext
[Windows::Foundation::Metadata::WebHostHidden]
class DkmILContext
[System.Runtime.InteropServices.Guid("0791dedd-cf53-fb48-30ad-66b9bb8699a6")]
public class DkmILContext
[<System.Runtime.InteropServices.Guid("0791dedd-cf53-fb48-30ad-66b9bb8699a6")>]
type DkmILContext = class
Public Class DkmILContext
Inheritance
DkmILContext
Attributes

Properties

DataContainer

[Optional] Custom data to associate with this DkmILContext. This is used to convey information associated with a particular execution of a DkmCompiledInspectionQuery.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

StackFrame

[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.

ThreadOverridePart

[Optional] Optional section that describes an alternate thread to use for evaluation.

Methods

Close()

Closes this compiled inspection query. This should be called after executing the query, when data associated with the context is no longer needed.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

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.

Applies to