Udostępnij za pośrednictwem


IDkmClrCustomVisualizerObjectProvider.ResolveAssembly Method

Definition

Resolves an assembly name to the path of the assembly or to its raw bytes.

public:
 void ResolveAssembly(Microsoft::VisualStudio::Debugger::Evaluation::DkmSuccessEvaluationResult ^ successResult, System::String ^ assemblyName, [Runtime::InteropServices::Out] System::String ^ % assemblyPath, [Runtime::InteropServices::Out] System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ % assemblyBytes);
public void ResolveAssembly (Microsoft.VisualStudio.Debugger.Evaluation.DkmSuccessEvaluationResult successResult, string assemblyName, out string assemblyPath, out System.Collections.ObjectModel.ReadOnlyCollection<byte> assemblyBytes);
public void ResolveAssembly (Microsoft.VisualStudio.Debugger.Evaluation.DkmSuccessEvaluationResult successResult, string assemblyName, out string? assemblyPath, out System.Collections.ObjectModel.ReadOnlyCollection<byte>? assemblyBytes);
abstract member ResolveAssembly : Microsoft.VisualStudio.Debugger.Evaluation.DkmSuccessEvaluationResult * string * string * ReadOnlyCollection -> unit
Public Sub ResolveAssembly (successResult As DkmSuccessEvaluationResult, assemblyName As String, ByRef assemblyPath As String, ByRef assemblyBytes As ReadOnlyCollection(Of Byte))

Parameters

successResult
DkmSuccessEvaluationResult

[In] The formatted result of a successful evaluation, ready to be displayed in an expression evaluation window.

assemblyName
String

[In] The fully qualified name of the assembly to resolve.

assemblyPath
String

[Out,Optional] The path of the resolved assembly for local debugging.

assemblyBytes
ReadOnlyCollection<Byte>

[Out,Optional] The byte array of the resolved assembly for remote debugging.

Applies to