Udostępnij za pośrednictwem


DkmFailedContextGroupEvaluationResult Class

Definition

The formatted result of a failed evaluation, ready to be displayed in an expression evaluation window.

public ref class DkmFailedContextGroupEvaluationResult : Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmContextGroupEvaluationResult
[System.Runtime.InteropServices.Guid("bcbf5652-8501-77e0-2256-0e6455e7909a")]
public class DkmFailedContextGroupEvaluationResult : Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmContextGroupEvaluationResult
[<System.Runtime.InteropServices.Guid("bcbf5652-8501-77e0-2256-0e6455e7909a")>]
type DkmFailedContextGroupEvaluationResult = class
    inherit DkmContextGroupEvaluationResult
Public Class DkmFailedContextGroupEvaluationResult
Inherits DkmContextGroupEvaluationResult
Inheritance
Inheritance
DkmFailedContextGroupEvaluationResult
Attributes

Properties

ErrorMessage

Specifies the error message to display to the user.

EvaluationResults

Result of the evaluation on this set of threads.

(Inherited from DkmContextGroupEvaluationResult)
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]'.

(Inherited from DkmContextGroupEvaluationResult)
HasSideEffects

Specifies the evaluation failed because it would cause side effects and side effects are not allowed.

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.

(Inherited from DkmContextGroupEvaluationResult)
RuntimeInstance

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

(Inherited from DkmContextGroupEvaluationResult)
TagValue

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

(Inherited from DkmContextGroupEvaluationResult)
ThreadIds

The thread IDs for the evaluation results.

(Inherited from DkmContextGroupEvaluationResult)
UniqueId

Guid which uniquely identifies this evaluation result.

(Inherited from DkmContextGroupEvaluationResult)

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.

(Inherited from DkmContextGroupEvaluationResult)
Create(ReadOnlyCollection<UInt64>, Int32, String, String, DkmRuntimeInstance, String, Boolean, DkmDataItem)

Create a new DkmFailedContextGroupEvaluationResult object instance.

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() (Inherited from DkmContextGroupEvaluationResult)

Applies to