Sdílet prostřednictvím


DkmILExecuteIntrinsic.Execute Method

Definition

Overloads

Execute(DkmILContext, DkmILEvaluationResult[], ReadOnlyCollection<DkmCompiledInspectionQuery>, DkmILFailureReason)

Executes an intrinsic function.

Location constraint: API must be called from a Monitor component (component level < 100,000).

Execute(DkmILContext, DkmCompiledILInspectionQuery, DkmILEvaluationResult[], ReadOnlyCollection<DkmCompiledInspectionQuery>, DkmILFailureReason)

Executes an intrinsic function.

Location constraint: API must be called from a Monitor component (component level < 100,000).

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

Execute(DkmILContext, DkmILEvaluationResult[], ReadOnlyCollection<DkmCompiledInspectionQuery>, DkmILFailureReason)

Executes an intrinsic function.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 cli::array <Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILEvaluationResult ^> ^ Execute(Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ ILContext, cli::array <Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILEvaluationResult ^> ^ Arguments, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^> ^ Subroutines, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason % FailureReason);
public Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Execute (Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Arguments, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery> Subroutines, out Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason FailureReason);
public Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Execute (Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Arguments, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery>? Subroutines, out Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason FailureReason);
member this.Execute : Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext * Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery> * DkmILFailureReason -> Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[]
Public Function Execute (ILContext As DkmILContext, Arguments As DkmILEvaluationResult(), Subroutines As ReadOnlyCollection(Of DkmCompiledInspectionQuery), ByRef FailureReason As DkmILFailureReason) As DkmILEvaluationResult()

Parameters

ILContext
DkmILContext

[In] The stack frame context we are evaluating on.

Arguments
DkmILEvaluationResult[]

[In] The arguments supplied to the intrinsic function.

Subroutines
ReadOnlyCollection<DkmCompiledInspectionQuery>

[In,Optional] Optional array of IL-based subroutines that the intrinsic function may choose to invoke during its operation.

FailureReason
DkmILFailureReason

[Out] If an error occurs, specifies the reason for the error. To indicate an error code whose meaning is specific to the particular intrinsic function being executed, return a value less than zero.

Returns

[Out] The results of the evaluation to be pushed onto the IL stack (in order).

Applies to

Execute(DkmILContext, DkmCompiledILInspectionQuery, DkmILEvaluationResult[], ReadOnlyCollection<DkmCompiledInspectionQuery>, DkmILFailureReason)

Executes an intrinsic function.

Location constraint: API must be called from a Monitor component (component level < 100,000).

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

public:
 cli::array <Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILEvaluationResult ^> ^ Execute(Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ ILContext, Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmCompiledILInspectionQuery ^ InspectionQuery, cli::array <Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILEvaluationResult ^> ^ Arguments, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^> ^ Subroutines, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason % FailureReason);
public Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Execute (Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmCompiledILInspectionQuery InspectionQuery, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Arguments, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery> Subroutines, out Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason FailureReason);
public Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Execute (Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext ILContext, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmCompiledILInspectionQuery InspectionQuery, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Arguments, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery>? Subroutines, out Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason FailureReason);
member this.Execute : Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext * Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmCompiledILInspectionQuery * Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery> * DkmILFailureReason -> Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[]
Public Function Execute (ILContext As DkmILContext, InspectionQuery As DkmCompiledILInspectionQuery, Arguments As DkmILEvaluationResult(), Subroutines As ReadOnlyCollection(Of DkmCompiledInspectionQuery), ByRef FailureReason As DkmILFailureReason) As DkmILEvaluationResult()

Parameters

ILContext
DkmILContext

[In] The stack frame context we are evaluating on.

InspectionQuery
DkmCompiledILInspectionQuery

[In] Currently executing instruction query that this intrinsic function belongs to.

Arguments
DkmILEvaluationResult[]

[In] The arguments supplied to the intrinsic function.

Subroutines
ReadOnlyCollection<DkmCompiledInspectionQuery>

[In,Optional] Optional array of IL-based subroutines that the intrinsic function may choose to invoke during its operation.

FailureReason
DkmILFailureReason

[Out] If an error occurs, specifies the reason for the error. To indicate an error code whose meaning is specific to the particular intrinsic function being executed, return a value less than zero.

Returns

[Out] The results of the evaluation to be pushed onto the IL stack (in order).

Applies to