IDkmDumpWriter.WriteDump(DkmProcess, DkmDumpType, String, DkmThread) 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.
This method will write out a memory dump of the process to the path specified.
public:
void WriteDump(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, Microsoft::VisualStudio::Debugger::DkmDumpType dumpType, System::String ^ path, Microsoft::VisualStudio::Debugger::DkmThread ^ targetThread);
public void WriteDump (Microsoft.VisualStudio.Debugger.DkmProcess process, Microsoft.VisualStudio.Debugger.DkmDumpType dumpType, string path, Microsoft.VisualStudio.Debugger.DkmThread targetThread);
public void WriteDump (Microsoft.VisualStudio.Debugger.DkmProcess process, Microsoft.VisualStudio.Debugger.DkmDumpType dumpType, string path, Microsoft.VisualStudio.Debugger.DkmThread? targetThread);
abstract member WriteDump : Microsoft.VisualStudio.Debugger.DkmProcess * Microsoft.VisualStudio.Debugger.DkmDumpType * string * Microsoft.VisualStudio.Debugger.DkmThread -> unit
Public Sub WriteDump (process As DkmProcess, dumpType As DkmDumpType, path As String, targetThread As DkmThread)
Parameters
- process
- DkmProcess
[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.
- dumpType
- DkmDumpType
[In] The type of dump to write. Either minidump or full-memory minidump.
- path
- String
[In] The full path to where the minidump should be saved. In remote scenarios, this path is relative to the remote machine.
- targetThread
- DkmThread
[In,Optional] The thread to use for the minidump if there is no current exception.