共用方式為


DkmProcess.WriteDump(DkmDumpType, String, DkmThread) Method

Definition

This method will write out a memory dump of the process to the path specified.

public:
 void WriteDump(Microsoft::VisualStudio::Debugger::DkmDumpType DumpType, System::String ^ Path, Microsoft::VisualStudio::Debugger::DkmThread ^ TargetThread);
public void WriteDump (Microsoft.VisualStudio.Debugger.DkmDumpType DumpType, string Path, Microsoft.VisualStudio.Debugger.DkmThread TargetThread);
public void WriteDump (Microsoft.VisualStudio.Debugger.DkmDumpType DumpType, string Path, Microsoft.VisualStudio.Debugger.DkmThread? TargetThread);
member this.WriteDump : Microsoft.VisualStudio.Debugger.DkmDumpType * string * Microsoft.VisualStudio.Debugger.DkmThread -> unit
Public Sub WriteDump (DumpType As DkmDumpType, Path As String, TargetThread As DkmThread)

Parameters

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.

Applies to