DkmProcess.TakeSnapshot(UInt64, 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.
Take a snapshot of the debuggee.
Location constraint: Server.
This API was introduced in Visual Studio 15 Update 3 (DkmApiVersion.VS15Update3).
public:
Microsoft::VisualStudio::Debugger::DkmProcessSnapshot ^ TakeSnapshot(System::UInt64 TimeStamp, Microsoft::VisualStudio::Debugger::DkmThread ^ StoppingThread);
public Microsoft.VisualStudio.Debugger.DkmProcessSnapshot TakeSnapshot (ulong TimeStamp, Microsoft.VisualStudio.Debugger.DkmThread StoppingThread);
public Microsoft.VisualStudio.Debugger.DkmProcessSnapshot TakeSnapshot (ulong TimeStamp, Microsoft.VisualStudio.Debugger.DkmThread? StoppingThread);
member this.TakeSnapshot : uint64 * Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.Debugger.DkmProcessSnapshot
Public Function TakeSnapshot (TimeStamp As ULong, StoppingThread As DkmThread) As DkmProcessSnapshot
Parameters
- TimeStamp
- UInt64
[In] The timestamp of the debug event for which the snapshot is taken. Typically, it's obtained via QueryPerformanceCounter when the debug event occurs.
- StoppingThread
- DkmThread
[In,Optional] The thread that the stopping event occurs in.
Returns
[Out] The new snapshot that's created.
Exceptions
Indicates that there is no enough memory for a new snapshot.