Udostępnij za pośrednictwem


DkmNativeCppInspectionSession Class

Definition

Represents a context for managing the lifetime of DkmNativeCppType objects. Each type context is tied to a DkmInspectionSession.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

public ref class DkmNativeCppInspectionSession : Microsoft::VisualStudio::Debugger::DkmDataContainer
[System.Runtime.InteropServices.Guid("477ed654-7fdd-33fb-c8b6-3eacfa30dfbc")]
public class DkmNativeCppInspectionSession : Microsoft.VisualStudio.Debugger.DkmDataContainer
[<System.Runtime.InteropServices.Guid("477ed654-7fdd-33fb-c8b6-3eacfa30dfbc")>]
type DkmNativeCppInspectionSession = class
    inherit DkmDataContainer
Public Class DkmNativeCppInspectionSession
Inherits DkmDataContainer
Inheritance
DkmNativeCppInspectionSession
Inheritance
DkmNativeCppInspectionSession
Attributes

Properties

InspectionSession

DkmInspectionSession allows the various components which inspect data to store private data which is associated with a group of evaluations.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

IsUnloaded

Returns true if a 'unloaded' event has been raised for this object (example: DkmThread::Unload is called) or if the object has been closed. Note that care must be used when checking this status as, without synchronization, the returned status may no longer be accurate the instruction after it is read.

(Inherited from DkmDataContainer)
UniqueId

The unique id of this DkmNativeCppInspectionSession.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

Methods

CompileExpression(DkmEvaluationFlags, DkmRuntimeInstance, DkmNativeCppType, Boolean, DkmInstructionAddress, String, ReadOnlyCollection<DkmNativeCppNamedExpressionParameter>, DkmNativeCppCompilationError)

Compiles a given expression into native IL.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

Create(DkmInspectionSession, DkmDataItem)

Create a new DkmNativeCppInspectionSession object instance.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

FindCppType(Int32)

Find a DkmNativeCppType element within this DkmNativeCppInspectionSession. If no element with the given input key is present, FindCppType will fail.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

GetCppTypes()

GetCppTypes enumerates the DkmNativeCppType elements of this DkmNativeCppInspectionSession object.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

GetDataItem<T>()

Gets the instance of 'T' which has been added to this container instance. If this container does not contain a 'T', this function will return null.

(Inherited from DkmDataContainer)
GetPrimitiveType(DkmNativeCppPrimitiveTypeKind, DkmNativeCppCVQualifiers)

Creates a C++ primitive type.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

RemoveDataItem<T>()

Remove the instance of 'T' from this container. It is usually unnecessary to call this method as a data container will automatically be emptied when the object is closed.

(Inherited from DkmDataContainer)
SetDataItem<T>(DkmDataCreationDisposition, T)

Place a new item in the data container.

(Inherited from DkmDataContainer)

Applies to