Compartilhar via


DkmContextGroupEvaluationResult Class

Definition

The results for a set of threads that match a specific context.

Derived classes: DkmFailedContextGroupEvaluationResult, DkmSuccessContextGroupEvaluationResult

public ref class DkmContextGroupEvaluationResult abstract : Microsoft::VisualStudio::Debugger::DkmDataContainer, IDisposable
[System.Runtime.InteropServices.Guid("bb891190-1064-c1b9-132e-f2e637c597e0")]
public abstract class DkmContextGroupEvaluationResult : Microsoft.VisualStudio.Debugger.DkmDataContainer, IDisposable
[<System.Runtime.InteropServices.Guid("bb891190-1064-c1b9-132e-f2e637c597e0")>]
type DkmContextGroupEvaluationResult = class
    inherit DkmDataContainer
    interface IDisposable
Public MustInherit Class DkmContextGroupEvaluationResult
Inherits DkmDataContainer
Implements IDisposable
Inheritance
DkmContextGroupEvaluationResult
Inheritance
DkmContextGroupEvaluationResult
Derived
Attributes
Implements

Properties

EvaluationResults

Result of the evaluation on this set of threads.

FullName

[Optional] The full name of the expression this result applies to. This value is used to allow child elements to be added to the watch window (Add Watch from the context menu), and to refresh parts of the evaluation tree. As an example of how FullName differs from name, the name of the 0th element of an array in C++ is '[0]' while the full name would by 'myArrayVariable[0]'.

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)
Name

The name of the expression this result applies to.

RuntimeInstance

The DkmRuntimeInstance class represents an execution environment which is loaded into a DkmProcess and which contains code to be debugged.

TagValue

DkmContextGroupEvaluationResult is an abstract base class. This enum indicates which derived class this object is an instance of.

ThreadIds

The thread IDs for the evaluation results.

UniqueId

Guid which uniquely identifies this evaluation result.

Methods

Close()

Closes the compute thread evaluation result object to release the resources associated with it. This method must be invoked by the component which initiated the enumeration (ex: called DkmInspectionContext.EvaluateExpression, DkmEvaluationResultEnumContext.GetItems, etc).

DkmContextGroupEvaluationResult objects are automatically closed when their associated DkmRuntimeInstance object is closed.

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)
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)

Explicit Interface Implementations

IDisposable.Dispose()

Applies to