次の方法で共有


DkmRecordedProcessInfo Class

Definition

Basic information about a non-executable file that can be debugged. This non-executable file can be a recording of a running process, e.g. a time travel debug trace file.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

public ref class DkmRecordedProcessInfo : Microsoft::VisualStudio::Debugger::DkmDataContainer, IDisposable
[System.Runtime.InteropServices.Guid("b5dcd6ce-1d50-a16a-c0a1-566860a3dab4")]
public class DkmRecordedProcessInfo : Microsoft.VisualStudio.Debugger.DkmDataContainer, IDisposable
[<System.Runtime.InteropServices.Guid("b5dcd6ce-1d50-a16a-c0a1-566860a3dab4")>]
type DkmRecordedProcessInfo = class
    inherit DkmDataContainer
    interface IDisposable
Public Class DkmRecordedProcessInfo
Inherits DkmDataContainer
Implements IDisposable
Inheritance
DkmRecordedProcessInfo
Inheritance
DkmRecordedProcessInfo
Attributes
Implements

Properties

Connection

Connection used to send the message to the debugger. This will value is usually obtained from DkmProcess.Connection unless the message needs to be sent before the DkmProcess is created.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

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)
Path

Full path to the file.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

Methods

Close()

The process info object is closed by the UI.

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

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

Create(DkmTransportConnection, String, DkmDataItem)

Creates a new recorded process 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 RTM (DkmApiVersion.VS16RTM).

GetClrVersions()

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

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

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)
GetModuleNames()

Get the lists of modules that loaded in the recorded process.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

GetSystemInformation()

Get information about the computer where the recorded process ran.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

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