Share via


DkmSerializedProcessInfo.Create Method

Definition

Overloads

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

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

public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmSerializedProcessInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, string Path, string ProcessName, string ProcessStartArguments, Guid BaseDebugMonitorId, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * string * string * string * Guid * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmSerializedProcessInfo
Public Shared Function Create (Connection As DkmTransportConnection, Path As String, ProcessName As String, ProcessStartArguments As String, BaseDebugMonitorId As Guid, DataItem As DkmDataItem) As DkmSerializedProcessInfo

Parameters

Connection
DkmTransportConnection

[In] Connection used to send the message to the debugger.

Path
String

[In] Full path to the file.

ProcessName
String

[In] The original process name.

ProcessStartArguments
String

[In] The original process start arguments.

BaseDebugMonitorId
Guid

[In] 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.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmSerializedProcessInfo instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to

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

public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmSerializedProcessInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, string Path, string ProcessName, string ProcessStartArguments, Guid BaseDebugMonitorId, long UptimeInSeconds, int NumberOfProcessors, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * string * string * string * Guid * int64 * int * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmSerializedProcessInfo
Public Shared Function Create (Connection As DkmTransportConnection, Path As String, ProcessName As String, ProcessStartArguments As String, BaseDebugMonitorId As Guid, UptimeInSeconds As Long, NumberOfProcessors As Integer, DataItem As DkmDataItem) As DkmSerializedProcessInfo

Parameters

Connection
DkmTransportConnection

[In] Connection used to send the message to the debugger.

Path
String

[In] Full path to the file.

ProcessName
String

[In] The original process name.

ProcessStartArguments
String

[In] The original process start arguments.

BaseDebugMonitorId
Guid

[In] 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.

UptimeInSeconds
Int64

[In] The process uptime in seconds.

NumberOfProcessors
Int32

[In] The number of processors in the system.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmSerializedProcessInfo instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to

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

public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmSerializedProcessInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, string Path, string ProcessName, string ProcessStartArguments, Guid BaseDebugMonitorId, long UptimeInSeconds, int NumberOfProcessors, uint PID, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * string * string * string * Guid * int64 * int * uint32 * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmSerializedProcessInfo
Public Shared Function Create (Connection As DkmTransportConnection, Path As String, ProcessName As String, ProcessStartArguments As String, BaseDebugMonitorId As Guid, UptimeInSeconds As Long, NumberOfProcessors As Integer, PID As UInteger, DataItem As DkmDataItem) As DkmSerializedProcessInfo

Parameters

Connection
DkmTransportConnection

[In] Connection used to send the message to the debugger.

Path
String

[In] Full path to the file.

ProcessName
String

[In] The original process name.

ProcessStartArguments
String

[In] The original process start arguments.

BaseDebugMonitorId
Guid

[In] 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.

UptimeInSeconds
Int64

[In] The process uptime in seconds.

NumberOfProcessors
Int32

[In] The number of processors in the system.

PID
UInt32

[In] The process ID.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmSerializedProcessInfo instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to