Share via


DkmPdbFileId.Create Method

Definition

Overloads

Create(Guid, Guid, UInt32, String)

Create a new DkmPdbFileId object instance.

Create(Guid, Guid, UInt32, String, UInt32, UInt32)

Create a new DkmPdbFileId object instance.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

Create(Guid, Guid, UInt32, String, UInt32, UInt32, ReadOnlyCollection<DkmHashValue>)

Create a new DkmPdbFileId object instance.

This API was introduced in Visual Studio 15 Update 9 (DkmApiVersion.VS15Update9).

Create(Guid, Guid, UInt32, String)

Create a new DkmPdbFileId object instance.

public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmPdbFileId ^ Create(Guid SymbolProviderId, Guid Mvid, System::UInt32 Age, System::String ^ PdbName);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmPdbFileId Create (Guid SymbolProviderId, Guid Mvid, uint Age, string PdbName);
static member Create : Guid * Guid * uint32 * string -> Microsoft.VisualStudio.Debugger.Symbols.DkmPdbFileId
Public Shared Function Create (SymbolProviderId As Guid, Mvid As Guid, Age As UInteger, PdbName As String) As DkmPdbFileId

Parameters

SymbolProviderId
Guid

[In] Unique identifier for symbol files/symbol providers.

Mvid
Guid

[In] Module Version Identifier from the loaded module. This is a unique value which is embedded in an exe/dll by linkers/compilers when the dll/exe is built. A new value is generated each time that the dll/exe is compiled.

Age
UInt32

[In] Age of the PDB. This is essentially a timestamp value which is embedded in an exe/dll by linkers/compilers when the dll/exe is built.

PdbName
String

[In] The name of the PDB file containing the debug information. This value is often a file path (ex: c:\myproject\bin\debug\myproject.pdb), but in some build environments it may be shortened to just a file name (ex: kernel32.pdb).

Returns

[Out] Result of this method call.

Applies to

Create(Guid, Guid, UInt32, String, UInt32, UInt32)

Create a new DkmPdbFileId object instance.

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmPdbFileId ^ Create(Guid SymbolProviderId, Guid Mvid, System::UInt32 Age, System::String ^ PdbName, System::UInt32 TimeDateStamp, System::UInt32 Version);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmPdbFileId Create (Guid SymbolProviderId, Guid Mvid, uint Age, string PdbName, uint TimeDateStamp, uint Version);
static member Create : Guid * Guid * uint32 * string * uint32 * uint32 -> Microsoft.VisualStudio.Debugger.Symbols.DkmPdbFileId
Public Shared Function Create (SymbolProviderId As Guid, Mvid As Guid, Age As UInteger, PdbName As String, TimeDateStamp As UInteger, Version As UInteger) As DkmPdbFileId

Parameters

SymbolProviderId
Guid

[In] Unique identifier for symbol files/symbol providers.

Mvid
Guid

[In] Module Version Identifier from the loaded module. This is a unique value which is embedded in an exe/dll by linkers/compilers when the dll/exe is built. A new value is generated each time that the dll/exe is compiled.

Age
UInt32

[In] Age of the PDB. This is essentially a timestamp value which is embedded in an exe/dll by linkers/compilers when the dll/exe is built.

PdbName
String

[In] The name of the PDB file containing the debug information. This value is often a file path (ex: c:\myproject\bin\debug\myproject.pdb), but in some build environments it may be shortened to just a file name (ex: kernel32.pdb).

TimeDateStamp
UInt32

[In] If specified, this is the TimeDateStamp field from the IMAGE_DEBUG_DIRECTORY.

Version
UInt32

[In] If specified, contains the 'MajorVersion' and 'MinorVersion' from the IMAGE_DEBUG_DIRECTORY.

Returns

[Out] Result of this method call.

Applies to

Create(Guid, Guid, UInt32, String, UInt32, UInt32, ReadOnlyCollection<DkmHashValue>)

Create a new DkmPdbFileId object instance.

This API was introduced in Visual Studio 15 Update 9 (DkmApiVersion.VS15Update9).

public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmPdbFileId ^ Create(Guid SymbolProviderId, Guid Mvid, System::UInt32 Age, System::String ^ PdbName, System::UInt32 TimeDateStamp, System::UInt32 Version, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Symbols::DkmHashValue ^> ^ Checksums);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmPdbFileId Create (Guid SymbolProviderId, Guid Mvid, uint Age, string PdbName, uint TimeDateStamp, uint Version, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Symbols.DkmHashValue> Checksums);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmPdbFileId Create (Guid SymbolProviderId, Guid Mvid, uint Age, string PdbName, uint TimeDateStamp, uint Version, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Symbols.DkmHashValue>? Checksums);
static member Create : Guid * Guid * uint32 * string * uint32 * uint32 * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Symbols.DkmHashValue> -> Microsoft.VisualStudio.Debugger.Symbols.DkmPdbFileId
Public Shared Function Create (SymbolProviderId As Guid, Mvid As Guid, Age As UInteger, PdbName As String, TimeDateStamp As UInteger, Version As UInteger, Checksums As ReadOnlyCollection(Of DkmHashValue)) As DkmPdbFileId

Parameters

SymbolProviderId
Guid

[In] Unique identifier for symbol files/symbol providers.

Mvid
Guid

[In] Module Version Identifier from the loaded module. This is a unique value which is embedded in an exe/dll by linkers/compilers when the dll/exe is built. A new value is generated each time that the dll/exe is compiled.

Age
UInt32

[In] Age of the PDB. This is essentially a timestamp value which is embedded in an exe/dll by linkers/compilers when the dll/exe is built.

PdbName
String

[In] The name of the PDB file containing the debug information. This value is often a file path (ex: c:\myproject\bin\debug\myproject.pdb), but in some build environments it may be shortened to just a file name (ex: kernel32.pdb).

TimeDateStamp
UInt32

[In] If specified, this is the TimeDateStamp field from the IMAGE_DEBUG_DIRECTORY.

Version
UInt32

[In] If specified, contains the 'MajorVersion' and 'MinorVersion' from the IMAGE_DEBUG_DIRECTORY.

Checksums
ReadOnlyCollection<DkmHashValue>

[In,Optional] Any PDB Hashes that were found in Debug Directory entries of the PE file.

Returns

[Out] Result of this method call.

Applies to