DkmLanguageExpression.CompileDisplayAttributeInternal Method

Definition

Overloads

CompileDisplayAttributeInternal(DkmClrModuleInstance, Int32, String, DkmCompiledClrInspectionQuery)

This method is used internally by the CLR Expression Evaluator.

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

CompileDisplayAttributeInternal(DkmWorkList, DkmClrModuleInstance, Int32, DkmCompletionRoutine<DkmCompileDisplayAttributeInternalAsyncResult>)

This method is used internally by the CLR Expression Evaluator.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

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

CompileDisplayAttributeInternal(DkmClrModuleInstance, Int32, String, DkmCompiledClrInspectionQuery)

This method is used internally by the CLR Expression Evaluator.

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:
 void CompileDisplayAttributeInternal(Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int Token, [Runtime::InteropServices::Out] System::String ^ % Error, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Evaluation::ClrCompilation::DkmCompiledClrInspectionQuery ^ % Result);
public void CompileDisplayAttributeInternal (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int Token, out string Error, out Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery Result);
public void CompileDisplayAttributeInternal (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int Token, out string? Error, out Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation.DkmCompiledClrInspectionQuery? Result);
member this.CompileDisplayAttributeInternal : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * string * DkmCompiledClrInspectionQuery -> unit
Public Sub CompileDisplayAttributeInternal (ModuleInstance As DkmClrModuleInstance, Token As Integer, ByRef Error As String, ByRef Result As DkmCompiledClrInspectionQuery)

Parameters

ModuleInstance
DkmClrModuleInstance

[In] The module instance containing the type the DebuggerDisplayAttribute applies to.

Token
Int32

[In] The metadata token of the type the DebuggerDisplayAttribute applies to.

Error
String

[Out,Optional] Indicates any error compiling the expression. If the code compiles successfully, this value should be null. In error cases, this value indicates the reason for the compile error and the caller should return S_OK.

Result
DkmCompiledClrInspectionQuery

[Out,Optional] The compiled display attribute. If Result is null, and Error is not null, there was a compile error.

Applies to

CompileDisplayAttributeInternal(DkmWorkList, DkmClrModuleInstance, Int32, DkmCompletionRoutine<DkmCompileDisplayAttributeInternalAsyncResult>)

This method is used internally by the CLR Expression Evaluator.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

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:
 void CompileDisplayAttributeInternal(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Clr::DkmClrModuleInstance ^ ModuleInstance, int Token, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Evaluation::DkmCompileDisplayAttributeInternalAsyncResult> ^ CompletionRoutine);
public void CompileDisplayAttributeInternal (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int Token, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompileDisplayAttributeInternalAsyncResult> CompletionRoutine);
member this.CompileDisplayAttributeInternal : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompileDisplayAttributeInternalAsyncResult> -> unit
Public Sub CompileDisplayAttributeInternal (WorkList As DkmWorkList, ModuleInstance As DkmClrModuleInstance, Token As Integer, CompletionRoutine As DkmCompletionRoutine(Of DkmCompileDisplayAttributeInternalAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

ModuleInstance
DkmClrModuleInstance

[In] The module instance containing the type the DebuggerDisplayAttribute applies to.

Token
Int32

[In] The metadata token of the type the DebuggerDisplayAttribute applies to.

CompletionRoutine
DkmCompletionRoutine<DkmCompileDisplayAttributeInternalAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to