Bewerken

Delen via


PEReader.ReadEmbeddedPortablePdbDebugDirectoryData Method

Definition

Reads the data pointed to by the specified Debug Directory entry and interprets it as an Embedded Portable PDB blob.

public:
 System::Reflection::Metadata::MetadataReaderProvider ^ ReadEmbeddedPortablePdbDebugDirectoryData(System::Reflection::PortableExecutable::DebugDirectoryEntry entry);
public System.Reflection.Metadata.MetadataReaderProvider ReadEmbeddedPortablePdbDebugDirectoryData (System.Reflection.PortableExecutable.DebugDirectoryEntry entry);
member this.ReadEmbeddedPortablePdbDebugDirectoryData : System.Reflection.PortableExecutable.DebugDirectoryEntry -> System.Reflection.Metadata.MetadataReaderProvider
Public Function ReadEmbeddedPortablePdbDebugDirectoryData (entry As DebugDirectoryEntry) As MetadataReaderProvider

Parameters

entry
DebugDirectoryEntry

The Debug Directory entry whose data is to be read.

Returns

The provider of a metadata reader for reading a Portable PDB image.

Exceptions

entry is not a EmbeddedPortablePdb entry.

Bad format of the data.

PE image not available.

Applies to