MetadataStreamOptions MetadataStreamOptions MetadataStreamOptions MetadataStreamOptions Enum

定义

public enum class MetadataStreamOptions
[System.Flags]
public enum MetadataStreamOptions
type MetadataStreamOptions = 
Public Enum MetadataStreamOptions
继承
MetadataStreamOptionsMetadataStreamOptionsMetadataStreamOptionsMetadataStreamOptions
属性

字段

Default Default Default Default 0

默认情况下,当释放 MetadataReaderProvider 并且延迟读取 PE 图像的部分时,系统会将流释放。By default, the stream is disposed when MetadataReaderProvider is disposed and sections of the PE image are read lazily.

LeaveOpen LeaveOpen LeaveOpen LeaveOpen 1

在释放 MetadataReaderProvider 时将流保持为开放状态。Keeps the stream open when the MetadataReaderProvider is disposed.

PrefetchMetadata PrefetchMetadata PrefetchMetadata PrefetchMetadata 2

立即将 PDB 元数据读入内存。Reads PDB metadata into memory right away.

适用于