DebugDirectoryBuilder.AddCodeViewEntry 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.
Overloads
AddCodeViewEntry(String, BlobContentId, UInt16) |
Adds a CodeView entry. |
AddCodeViewEntry(String, BlobContentId, UInt16, Int32) |
Adds a CodeView entry. |
AddCodeViewEntry(String, BlobContentId, UInt16)
- Source:
- DebugDirectoryBuilder.cs
- Source:
- DebugDirectoryBuilder.cs
- Source:
- DebugDirectoryBuilder.cs
- Source:
- DebugDirectoryBuilder.cs
Adds a CodeView entry.
public:
void AddCodeViewEntry(System::String ^ pdbPath, System::Reflection::Metadata::BlobContentId pdbContentId, System::UInt16 portablePdbVersion);
public void AddCodeViewEntry (string pdbPath, System.Reflection.Metadata.BlobContentId pdbContentId, ushort portablePdbVersion);
member this.AddCodeViewEntry : string * System.Reflection.Metadata.BlobContentId * uint16 -> unit
Public Sub AddCodeViewEntry (pdbPath As String, pdbContentId As BlobContentId, portablePdbVersion As UShort)
Parameters
- pdbPath
- String
The path to the PDB. It should not be empty.
- pdbContentId
- BlobContentId
The unique id of the PDB content.
- portablePdbVersion
- UInt16
The version of Portable PDB format (e.g. 0x0100 for 1.0), or 0 if the PDB is not portable.
Exceptions
pdbPath
is null
.
pdbPath
contains a NUL character.
portablePdbVersion
is smaller than 0x0100.
Applies to
AddCodeViewEntry(String, BlobContentId, UInt16, Int32)
- Source:
- DebugDirectoryBuilder.cs
- Source:
- DebugDirectoryBuilder.cs
- Source:
- DebugDirectoryBuilder.cs
- Source:
- DebugDirectoryBuilder.cs
Adds a CodeView entry.
public:
void AddCodeViewEntry(System::String ^ pdbPath, System::Reflection::Metadata::BlobContentId pdbContentId, System::UInt16 portablePdbVersion, int age);
public void AddCodeViewEntry (string pdbPath, System.Reflection.Metadata.BlobContentId pdbContentId, ushort portablePdbVersion, int age);
member this.AddCodeViewEntry : string * System.Reflection.Metadata.BlobContentId * uint16 * int -> unit
Public Sub AddCodeViewEntry (pdbPath As String, pdbContentId As BlobContentId, portablePdbVersion As UShort, age As Integer)
Parameters
- pdbPath
- String
The path to the PDB. It should not be empty.
- pdbContentId
- BlobContentId
The unique id of the PDB content.
- portablePdbVersion
- UInt16
The version of Portable PDB format (e.g. 0x0100 for 1.0), or 0 if the PDB is not portable.
- age
- Int32
Age (iteration) of the PDB. Shall be 1 for Portable PDBs.
Exceptions
pdbPath
is null
.
pdbPath
contains a NUL character.
Either portablePdbVersion
is smaller than 0x0100 or age
is less than 1.