DkmSerializedProcessInfo Class

Definition

Basic information about a non-executable file that can be debugged.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

[System.Runtime.InteropServices.Guid("4f3d447c-ae9c-ebd1-7e33-c01c83c36c39")]
public class DkmSerializedProcessInfo : Microsoft.VisualStudio.Debugger.DkmDataContainer, IDisposable
[<System.Runtime.InteropServices.Guid("4f3d447c-ae9c-ebd1-7e33-c01c83c36c39")>]
type DkmSerializedProcessInfo = class
    inherit DkmDataContainer
    interface IDisposable
Public Class DkmSerializedProcessInfo
Inherits DkmDataContainer
Implements IDisposable
Inheritance
DkmSerializedProcessInfo
Attributes
Implements

Properties

BaseDebugMonitorId

DkmBaseDebugMonitorId identifies the base debug monitor used to inspect and control the debugged process. For example, DkmBaseDebugMonitorId.WindowsProcess is used for processes debugged by the Win32 debugging API and DkmBaseDebugMonitorId.DumpFile is used for minidumps.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

Connection

Connection used to send the message to the debugger.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

IsUnloaded

Returns true if a 'unloaded' event has been raised for this object (example: DkmThread::Unload is called) or if the object has been closed. Note that care must be used when checking this status as, without synchronization, the returned status may no longer be accurate the instruction after it is read.

(Inherited from DkmDataContainer)
NumberOfProcessors

The number of processors in the system.

This API was introduced in Visual Studio 17 Update 2 (DkmApiVersion.VS17Update2).

Path

Full path to the file.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

PID

The process ID.

This API was introduced in Visual Studio 17 Update 4 (DkmApiVersion.VS17Update4).

ProcessName

The original process name.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

ProcessStartArguments

The original process start arguments.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

UptimeInSeconds

The process uptime in seconds.

This API was introduced in Visual Studio 17 Update 2 (DkmApiVersion.VS17Update2).

Methods

Close()

The process info object is closed by the UI.

DkmSerializedProcessInfo objects are automatically closed when their associated DkmTransportConnection object is closed.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

Create(DkmTransportConnection, String, String, String, Guid, DkmDataItem)

Creates a new serialized process information object. This method is called from the base debug monitor.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

Create(DkmTransportConnection, String, String, String, Guid, Int64, Int32, DkmDataItem)

Creates a new serialized process information object. This method is called from the base debug monitor.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 17 Update 2 (DkmApiVersion.VS17Update2).

Create(DkmTransportConnection, String, String, String, Guid, Int64, Int32, UInt32, DkmDataItem)

Creates a new serialized process information object. This method is called from the base debug monitor.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 17 Update 4 (DkmApiVersion.VS17Update4).

GetClrVersions()

Get all the version number for all the CLR instances loaded into the process.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

GetDataItem<T>()

Gets the instance of 'T' which has been added to this container instance. If this container does not contain a 'T', this function will return null.

(Inherited from DkmDataContainer)
GetLastExceptionCode()

Get the last exception code. For Linux this will be a signal code.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

GetModules()

Get the lists of modules that loaded in the process.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

GetSystemInformation()

Get information about the computer where the recorded process ran.

This API was introduced in Visual Studio 16 Update 8 (DkmApiVersion.VS16Update8).

RemoveDataItem<T>()

Remove the instance of 'T' from this container. It is usually unnecessary to call this method as a data container will automatically be emptied when the object is closed.

(Inherited from DkmDataContainer)
SetDataItem<T>(DkmDataCreationDisposition, T)

Place a new item in the data container.

(Inherited from DkmDataContainer)

Explicit Interface Implementations

IDisposable.Dispose()

Applies to