DkmProcess.TakeSnapshotWithException(UInt64, DkmExceptionInformation) 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 5 (DkmApiVersion.VS15Update5).
public:
Microsoft::VisualStudio::Debugger::DkmProcessSnapshot ^ TakeSnapshotWithException(System::UInt64 TimeStamp, Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionInformation ^ ExceptionInformation);
public Microsoft.VisualStudio.Debugger.DkmProcessSnapshot TakeSnapshotWithException (ulong TimeStamp, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation ExceptionInformation);
member this.TakeSnapshotWithException : uint64 * Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation -> Microsoft.VisualStudio.Debugger.DkmProcessSnapshot
Public Function TakeSnapshotWithException (TimeStamp As ULong, ExceptionInformation As DkmExceptionInformation) 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.
- ExceptionInformation
- DkmExceptionInformation
[In] Exception information to associate with snapshot.
Returns
[Out] The new snapshot that's created.
Exceptions
Indicates that there is not enough memory for a new snapshot.