DkmProcess.TakeSnapshotWithException(UInt64, DkmExceptionInformation) Method

Definition

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.

Applies to