Compartilhar via


DkmClrAliasKind Enum

Definition

Enum that defines the kinds of aliases returned by DkmClrRuntimeInstance.GetAliases. The methods referred to below are defined in the virtual module Microsoft.VisualStudio.Debugger.Clr.IntrinsicMethods. The metadata for this module is available by calling DkmClrRuntimeInstance.GetIntrinsicAssemblyMetaDataBytesPtr.

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

public enum class DkmClrAliasKind
public enum class DkmClrAliasKind
enum DkmClrAliasKind
public enum DkmClrAliasKind
type DkmClrAliasKind = 
Public Enum DkmClrAliasKind
Inheritance
DkmClrAliasKind

Fields

Name Value Description
Exception 0

The alias is the exception on the given thread. To get this value, the Expression Compiler should emit a call to GetException.

StowedException 1

The alias is a stowed exception To get this value, the Expression Compiler should emit a call to GetStowedException.

ReturnValue 2

The alias is a return value To get this value, the Expression Compiler should emit a call to GetReturnValue.

Variable 3

The alias is a variable defined by the user using the Expression Evaluator To get this value, the Expression Compiler should emit a call to GetObjectByAlias. The value can be set by getting its address via GetVariableAddress then storing the new value at that address.

ObjectId 4

The alias is a heap value being tracked due to a call to CreateObjectId To get this value, the Expression Compiler should emit a call to GetObjectByAlias.

Applies to