IDkmClrMetaDataLoader.GetMetaDataBytes(DkmClrAppDomain, String, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used internally to support DkmClrAppDomain.GetMetaDataBytesPtr. For performance reasons, use GetMetaDataBytesPtr instead of this method.
public:
cli::array <System::Byte> ^ GetMetaDataBytes(Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ appDomain, System::String ^ assemblyName, [Runtime::InteropServices::Out] Guid % mvid);
public byte[] GetMetaDataBytes (Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain, string assemblyName, out Guid mvid);
public byte[]? GetMetaDataBytes (Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain, string assemblyName, out Guid mvid);
abstract member GetMetaDataBytes : Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain * string * Guid -> byte[]
Public Function GetMetaDataBytes (appDomain As DkmClrAppDomain, assemblyName As String, ByRef mvid As Guid) As Byte()
Parameters
- appDomain
- DkmClrAppDomain
[In] DkmClrAppDomain represents a CLR app domain inside a process which is being debugged.
- assemblyName
- String
[In] The fully qualified name of the assembly to load.
- mvid
- Guid
[Out] The MVID of the module that was loaded.
Returns
[Out] The metadata blob.
Exceptions
CORDB_E_MISSING_METADATA indicates that the assembly was not found or could not be loaded.