DkmFailedContextGroupEvaluationResult.Create Method

Definition

Create a new DkmFailedContextGroupEvaluationResult object instance.

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmFailedContextGroupEvaluationResult ^ Create(System::Collections::ObjectModel::ReadOnlyCollection<System::UInt64> ^ ThreadIds, int EvaluationResults, System::String ^ Name, System::String ^ FullName, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, System::String ^ ErrorMessage, bool HasSideEffects, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmFailedContextGroupEvaluationResult Create (System.Collections.ObjectModel.ReadOnlyCollection<ulong> ThreadIds, int EvaluationResults, string Name, string FullName, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, string ErrorMessage, bool HasSideEffects, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmFailedContextGroupEvaluationResult Create (System.Collections.ObjectModel.ReadOnlyCollection<ulong> ThreadIds, int EvaluationResults, string Name, string? FullName, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, string ErrorMessage, bool HasSideEffects, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : System.Collections.ObjectModel.ReadOnlyCollection<uint64> * int * string * string * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * string * bool * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmFailedContextGroupEvaluationResult
Public Shared Function Create (ThreadIds As ReadOnlyCollection(Of ULong), EvaluationResults As Integer, Name As String, FullName As String, RuntimeInstance As DkmRuntimeInstance, ErrorMessage As String, HasSideEffects As Boolean, DataItem As DkmDataItem) As DkmFailedContextGroupEvaluationResult

Parameters

ThreadIds
ReadOnlyCollection<UInt64>

[In] The thread IDs for the evaluation results.

EvaluationResults
Int32

[In] Result of the evaluation on this set of threads.

Name
String

[In] The name of the expression this result applies to.

FullName
String

[In,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]'.

RuntimeInstance
DkmRuntimeInstance

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

ErrorMessage
String

[In] Specifies the error message to display to the user.

HasSideEffects
Boolean

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

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmFailedContextGroupEvaluationResult instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to