Compartilhar via


DkmSuccessContextGroupEvaluationResult.Create Method

Definition

Create a new DkmSuccessContextGroupEvaluationResult object instance.

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::Group::DkmSuccessContextGroupEvaluationResult ^ Create(System::Collections::ObjectModel::ReadOnlyCollection<System::UInt64> ^ ThreadIds, int EvaluationResults, System::String ^ Name, System::String ^ FullName, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultFlags Flags, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ Values, System::String ^ Type, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultCategory Category, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultAccessType Access, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultStorageType StorageType, Microsoft::VisualStudio::Debugger::Evaluation::DkmEvaluationResultTypeModifierFlags TypeModifierFlags, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::DkmCustomUIVisualizerInfo ^> ^ CustomUIVisualizers, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmSuccessContextGroupEvaluationResult Create (System.Collections.ObjectModel.ReadOnlyCollection<ulong> ThreadIds, int EvaluationResults, string Name, string FullName, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultFlags Flags, System.Collections.ObjectModel.ReadOnlyCollection<string> Values, string Type, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory Category, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType Access, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType StorageType, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags TypeModifierFlags, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo> CustomUIVisualizers, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmSuccessContextGroupEvaluationResult Create (System.Collections.ObjectModel.ReadOnlyCollection<ulong> ThreadIds, int EvaluationResults, string Name, string? FullName, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultFlags Flags, System.Collections.ObjectModel.ReadOnlyCollection<string> Values, string? Type, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory Category, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType Access, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType StorageType, Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags TypeModifierFlags, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo>? CustomUIVisualizers, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : System.Collections.ObjectModel.ReadOnlyCollection<uint64> * int * string * string * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultFlags * System.Collections.ObjectModel.ReadOnlyCollection<string> * string * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultCategory * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultAccessType * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultStorageType * Microsoft.VisualStudio.Debugger.Evaluation.DkmEvaluationResultTypeModifierFlags * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCustomUIVisualizerInfo> * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Evaluation.Group.DkmSuccessContextGroupEvaluationResult
Public Shared Function Create (ThreadIds As ReadOnlyCollection(Of ULong), EvaluationResults As Integer, Name As String, FullName As String, RuntimeInstance As DkmRuntimeInstance, Flags As DkmEvaluationResultFlags, Values As ReadOnlyCollection(Of String), Type As String, Category As DkmEvaluationResultCategory, Access As DkmEvaluationResultAccessType, StorageType As DkmEvaluationResultStorageType, TypeModifierFlags As DkmEvaluationResultTypeModifierFlags, CustomUIVisualizers As ReadOnlyCollection(Of DkmCustomUIVisualizerInfo), DataItem As DkmDataItem) As DkmSuccessContextGroupEvaluationResult

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.

Flags
DkmEvaluationResultFlags

[In] Flags which indicate attributes of an expression evaluation result.

Values
ReadOnlyCollection<String>

[In] The formatted values for each thread.

Type
String

[In,Optional] A string that describes the type of the value.

Category
DkmEvaluationResultCategory

[In] The category (ex: Data, Method, etc) of this evaluation result.

Access
DkmEvaluationResultAccessType

[In] The access control level (public, private, etc) of the evaluation result.

StorageType
DkmEvaluationResultStorageType

[In] The storage type (ex: static) of the evaluation result.

TypeModifierFlags
DkmEvaluationResultTypeModifierFlags

[In] Type modifier flags (ex: const) of the evaluation result.

CustomUIVisualizers
ReadOnlyCollection<DkmCustomUIVisualizerInfo>

[In,Optional] A list of custom viewers for this object.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmSuccessContextGroupEvaluationResult 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